Remove additional round brackets from fix for #3282.

This commit is contained in:
antirez 2016-06-15 12:16:39 +02:00
parent ca54335f40
commit eb45e11496

View File

@ -775,7 +775,7 @@ void bitcountCommand(client *c) {
/* Convert negative indexes */ /* Convert negative indexes */
if (start < 0) start = strlen+start; if (start < 0) start = strlen+start;
if (end < 0) end = strlen+end; if (end < 0) end = strlen+end;
if ((start < 0) && (end < 0) && (start > end)) { if (start < 0 && end < 0 && start > end) {
addReply(c,shared.czero); addReply(c,shared.czero);
return; return;
} }