mirror of
https://github.com/fluencelabs/redis
synced 2025-06-12 08:41:21 +00:00
Fixed a few warnings compiling on Linux.
This commit is contained in:
@ -929,7 +929,7 @@ void zaddGenericCommand(redisClient *c, int incr) {
|
||||
} else {
|
||||
znode = zslInsert(zs->zsl,score,ele);
|
||||
incrRefCount(ele); /* Inserted in skiplist. */
|
||||
redisAssertWithInfo(c,curobj,dictAdd(zs->dict,ele,&znode->score) == DICT_OK);
|
||||
redisAssertWithInfo(c,NULL,dictAdd(zs->dict,ele,&znode->score) == DICT_OK);
|
||||
incrRefCount(ele); /* Added to dictionary. */
|
||||
|
||||
signalModifiedKey(c->db,key);
|
||||
|
Reference in New Issue
Block a user