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 9756f61fda
commit 5b3930655f

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