Skip to content

Commit

Permalink
Avoid compilation error oin valkey-cli (valkey-io#721)
Browse files Browse the repository at this point in the history
Signed-off-by: ranshid <[email protected]>
  • Loading branch information
ranshid authored Jul 1, 2024
1 parent 2420881 commit 752b6ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/valkey-cli.c
Original file line number Diff line number Diff line change
Expand Up @@ -5706,6 +5706,8 @@ static clusterManagerNode *clusterManagerNodePrimaryRandom(void) {
}
/* Can not be reached */
assert(0);
/* Make compiler happy */
return 0;
}

static int clusterManagerFixSlotsCoverage(char *all_slots) {
Expand Down

0 comments on commit 752b6ee

Please sign in to comment.