Commit 5b393065 authored by Wei Jin's avatar Wei Jin Committed by antirez
Browse files

Remove redundant else/return block

Fixes #1741
parent 9756f61f
...@@ -205,8 +205,6 @@ int zslDelete(zskiplist *zsl, double score, robj *obj) { ...@@ -205,8 +205,6 @@ int zslDelete(zskiplist *zsl, double score, robj *obj) {
zslDeleteNode(zsl, x, update); zslDeleteNode(zsl, x, update);
zslFreeNode(x); zslFreeNode(x);
return 1; return 1;
} else {
return 0; /* not found */
} }
return 0; /* not found */ return 0; /* not found */
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment