diff options
author | artix <artix2@gmail.com> | 2018-11-05 14:19:45 +0100 |
---|---|---|
committer | artix <artix2@gmail.com> | 2018-11-05 14:19:45 +0100 |
commit | 3a2d82ae8ef4f9b088bf8a2d43fec11ca8639729 (patch) | |
tree | 4e2f4061e65b6efa76db8cd0c7782baa269410a7 /src/redis-cli.c | |
parent | 18ddbf0352cc1a5ae3248f06abed9a0ee59a4edf (diff) | |
download | redis-3a2d82ae8ef4f9b088bf8a2d43fec11ca8639729.tar.gz |
Cluster Manager: removed unused var.
Diffstat (limited to 'src/redis-cli.c')
-rw-r--r-- | src/redis-cli.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c index c9e306fa8..61776c72b 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -3749,7 +3749,7 @@ static int clusterManagerFixOpenSlot(int slot) { clusterManagerLogInfo(">>> Fixing open slot %d\n", slot); /* Try to obtain the current slot owner, according to the current * nodes configuration. */ - int success = 1, keys_in_multiple_nodes = 0; + int success = 1; list *owners = listCreate(); list *migrating = listCreate(); list *importing = listCreate(); @@ -3772,7 +3772,6 @@ static int clusterManagerFixOpenSlot(int slot) { "in non-owner node %s:%d!\n", slot, n->ip, n->port); listAddNodeTail(owners, n); - keys_in_multiple_nodes = 1; } if (r) freeReplyObject(r); if (!success) goto cleanup; |