From 752b6ee8ff75a72c364feca8b667f9e723df0c4c Mon Sep 17 00:00:00 2001 From: ranshid <88133677+ranshid@users.noreply.github.com> Date: Mon, 1 Jul 2024 14:47:45 +0300 Subject: [PATCH] Avoid compilation error oin valkey-cli (#721) Signed-off-by: ranshid --- src/valkey-cli.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/valkey-cli.c b/src/valkey-cli.c index 7e6898643..22078fc42 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) {