summaryrefslogtreecommitdiff
path: root/src/redis-cli.c
diff options
context:
space:
mode:
authorSalvatore Sanfilippo <antirez@gmail.com>2017-09-18 12:18:15 +0200
committerGitHub <noreply@github.com>2017-09-18 12:18:15 +0200
commit9b4cb4addcf03436edd9504a3d9b6bbc5c13cf1e (patch)
treea658ade32b670f9afe9ce496edb5e1533f6f2249 /src/redis-cli.c
parent8885921dfbdd5fee2d5904f6f296435f038f45e1 (diff)
parentc76b9b644c11f8b7284755664670d9baa64f1907 (diff)
downloadredis-9b4cb4addcf03436edd9504a3d9b6bbc5c13cf1e.tar.gz
Merge pull request #3554 from jybaek/Delete_duplicate
Remove Duplicate Processing
Diffstat (limited to 'src/redis-cli.c')
-rw-r--r--src/redis-cli.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c
index 705d917e9..ca9fe6ad7 100644
--- a/src/redis-cli.c
+++ b/src/redis-cli.c
@@ -632,7 +632,6 @@ sds sdscatcolor(sds o, char *s, size_t len, char *color) {
int bold = strstr(color,"bold") != NULL;
int ccode = 37; /* Defaults to white. */
if (strstr(color,"red")) ccode = 31;
- else if (strstr(color,"red")) ccode = 31;
else if (strstr(color,"green")) ccode = 32;
else if (strstr(color,"yellow")) ccode = 33;
else if (strstr(color,"blue")) ccode = 34;