fix some compile warnings

This commit is contained in:
zhaozhao.zz
2018-06-28 17:22:59 +08:00
parent ab55f9da5e
commit 1fcf2737a6
2 changed files with 2 additions and 2 deletions

View File

@ -1400,7 +1400,7 @@ int *georadiusGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numk
/* XREAD [BLOCK <milliseconds>] [COUNT <count>] [GROUP <groupname> <ttl>]
* STREAMS key_1 key_2 ... key_N ID_1 ID_2 ... ID_N */
int *xreadGetKeys(struct redisCommand *cmd, robj **argv, int argc, int *numkeys) {
int i, num, *keys;
int i, num = 0, *keys;
UNUSED(cmd);
/* We need to parse the options of the command in order to seek the first