diff --git a/src/commands/cmd_zset.cc b/src/commands/cmd_zset.cc index 93261755836..b718bb6acf9 100644 --- a/src/commands/cmd_zset.cc +++ b/src/commands/cmd_zset.cc @@ -392,6 +392,8 @@ class CommandZRangeGeneric : public Commander { } return Status::OK(); } + + return {Status::RedisParseErr, "unexpected range type"}; } private: