diff --git a/src/valkey-cli.c b/src/valkey-cli.c index 7e6898643e..22078fc423 100644 --- a/src/valkey-cli.c +++ b/src/valkey-cli.c @@ -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) {