summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2015-12-18 16:19:47 +0100
committerantirez <antirez@gmail.com>2015-12-18 16:19:47 +0100
commit3d61cb0cb18a34bc537f5b4b98adb963a6911923 (patch)
tree08eb9338ddedf4b82a4bc62eb4414110fa55f149
parentddc4d7f8c7e7bbd90e87d19384a4403a1ea4d5dc (diff)
downloadredis-3.0.6.tar.gz
Suppress harmless warnings.3.0.6
-rw-r--r--src/cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cluster.c b/src/cluster.c
index 05d7baa6c..8f07772e0 100644
--- a/src/cluster.c
+++ b/src/cluster.c
@@ -4743,7 +4743,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));