mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
@@ -491,7 +491,7 @@ void srandmemberWithCountCommand(redisClient *c) {
|
||||
/* Add all the elements into the temporary dictionary. */
|
||||
si = setTypeInitIterator(set);
|
||||
while((encoding = setTypeNext(si,&ele,&llele)) != -1) {
|
||||
int retval;
|
||||
int retval = DICT_ERR;
|
||||
|
||||
if (encoding == REDIS_ENCODING_INTSET) {
|
||||
retval = dictAdd(d,createStringObjectFromLongLong(llele),NULL);
|
||||
|
||||
Reference in New Issue
Block a user