Remove redundant else/return block

Fixes #1741
This commit is contained in:
Wei Jin 2014-05-12 20:55:54 +08:00 committed by antirez
parent 9840df7bad
commit 9b53f79e00

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 */
}