1
0
mirror of https://github.com/fluencelabs/redis synced 2025-03-25 11:51:03 +00:00

Remove Duplicate Processing

This commit is contained in:
jybaek 2016-10-13 15:17:07 +09:00
parent a5998d1fda
commit c76b9b644c

@ -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;