mirror of
https://github.com/fluencelabs/redis
synced 2025-06-14 01:31:21 +00:00
A few compiler warnings suppressed.
This commit is contained in:
@ -1259,7 +1259,9 @@ int zuiNext(zsetopsrc *op, zsetopval *val) {
|
||||
if (op->type == REDIS_SET) {
|
||||
iterset *it = &op->iter.set;
|
||||
if (op->encoding == REDIS_ENCODING_INTSET) {
|
||||
if (!intsetGet(it->is.is,it->is.ii,(int64_t*)&val->ell))
|
||||
int64_t ell = val->ell;
|
||||
|
||||
if (!intsetGet(it->is.is,it->is.ii,&ell))
|
||||
return 0;
|
||||
val->score = 1.0;
|
||||
|
||||
|
Reference in New Issue
Block a user