From ad0ddcf390be42cbfd3fbf505ea0bf64c9b9482c Mon Sep 17 00:00:00 2001 From: jybaek Date: Thu, 13 Oct 2016 15:17:07 +0900 Subject: [PATCH] Remove Duplicate Processing --- src/redis-cli.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/redis-cli.c b/src/redis-cli.c index 61068483..a44f3212 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;