mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 03:31:21 +00:00
Clean gcc 7.x warnings, redis-cli cluster fix.
This commit is contained in:
@ -5091,7 +5091,7 @@ static int clusterManagerCommandImport(int argc, char **argv) {
|
||||
|
||||
// Build a slot -> node map
|
||||
clusterManagerNode *slots_map[CLUSTER_MANAGER_SLOTS];
|
||||
memset(slots_map, 0, sizeof(slots_map) / sizeof(clusterManagerNode *));
|
||||
memset(slots_map, 0, sizeof(slots_map));
|
||||
listIter li;
|
||||
listNode *ln;
|
||||
for (i = 0; i < CLUSTER_MANAGER_SLOTS; i++) {
|
||||
|
Reference in New Issue
Block a user