From c76b9b644c11f8b7284755664670d9baa64f1907 Mon Sep 17 00:00:00 2001 From: jybaek Date: Thu, 13 Oct 2016 15:17:07 +0900 Subject: 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 054c2fc7c..7d34e7f97 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -628,7 +628,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; -- cgit v1.2.1