Suppress harmless warnings.

This commit is contained in:
antirez
2015-12-16 12:36:29 +01:00
parent ac8f4a6af9
commit b9aeb98156
3 changed files with 8 additions and 4 deletions

View File

@ -4746,7 +4746,7 @@ try_again:
/* Read the RESTORE replies. */
int error_from_target = 0;
int del_idx = 1; /* Index of the key argument for the replicated DEL op. */
robj **newargv;
robj **newargv = NULL;
if (!copy) newargv = zmalloc(sizeof(robj*)*(num_keys+1));