Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cluster_library.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cluster_library.c b/cluster_library.c
index 9173cdcd..c05064be 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -826,7 +826,7 @@ cluster_init_seeds(redisCluster *cluster, HashTable *ht_seeds) {
PHPAPI int
cluster_map_keyspace(redisCluster *c TSRMLS_DC) {
RedisSock **seed;
- clusterReply *slots;
+ clusterReply *slots=NULL;
int mapped=0;
// Iterate over seeds until we can get slots