Fix three simple clang analyzer warnings

This commit is contained in:
Matt Stancliff
2014-11-13 23:35:10 -05:00
parent 9b786b124d
commit d956d809ac
3 changed files with 3 additions and 3 deletions

View File

@ -1382,7 +1382,7 @@ void zremrangeGenericCommand(redisClient *c, int rangetype) {
robj *key = c->argv[1];
robj *zobj;
int keyremoved = 0;
unsigned long deleted;
unsigned long deleted = 0;
zrangespec range;
zlexrangespec lexrange;
long start, end, llen;