Remove redundant else/return block

Fixes #1741
This commit is contained in:
Wei Jin
2014-08-26 10:41:01 +02:00
committed by antirez
parent 409f5d71e7
commit 4215bf453a
-2
View File
@@ -205,8 +205,6 @@ int zslDelete(zskiplist *zsl, double score, robj *obj) {
zslDeleteNode(zsl, x, update);
zslFreeNode(x);
return 1;
} else {
return 0; /* not found */
}
return 0; /* not found */
}