diff --git a/src/t_zset.c b/src/t_zset.c index 1ef5e991..b77a3424 100644 --- a/src/t_zset.c +++ b/src/t_zset.c @@ -810,12 +810,6 @@ void zsConvert(robj *zobj, int encoding) { * Sorted set commands *----------------------------------------------------------------------------*/ -// if (zobj->encoding == REDIS_ENCODING_ZIPLIST) { -// } else if (zobj->encoding == REDIS_ENCODING_RAW) { -// } else { -// redisPanic("Unknown sorted set encoding"); -// } - /* This generic command implements both ZADD and ZINCRBY. */ void zaddGenericCommand(redisClient *c, int incr) { static char *nanerr = "resulting score is not a number (NaN)";