Skip to content

Commit

Permalink
Remove redundant else/return block
Browse files Browse the repository at this point in the history
Fixes #1741
  • Loading branch information
wjin authored and mattsta committed Aug 2, 2014
1 parent a159b1f commit 46f90e4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/t_zset.c
Expand Up @@ -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 */
}
Expand Down

0 comments on commit 46f90e4

Please sign in to comment.