projects
/
redis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56ce42f
)
Remove comment
author
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Thu, 10 Mar 2011 15:53:20 +0000
(16:53 +0100)
committer
Pieter Noordhuis
<pcnoordhuis@gmail.com>
Thu, 10 Mar 2011 15:53:20 +0000
(16:53 +0100)
src/t_zset.c
patch
|
blob
|
blame
|
history
diff --git
a/src/t_zset.c
b/src/t_zset.c
index 1ef5e9911fc628cf4223441eefd9ffafa4d63000..b77a34245212b989e1463d00b796feb4129a0666 100644
(file)
--- 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)";