mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 09:00:51 +00:00
Update dict.c
change coding style.
This commit is contained in:
parent
816fc6cbc6
commit
b6ce7d5ddc
@ -705,8 +705,10 @@ unsigned int dictGetSomeKeys(dict *d, dictEntry **des, unsigned int count) {
|
||||
* table, there will be no elements in both tables up to
|
||||
* the current rehashing index, so we jump if possible.
|
||||
* (this happens when going from big to small table). */
|
||||
if (i >= d->ht[1].size) i = d->rehashidx;
|
||||
else continue;
|
||||
if (i >= d->ht[1].size)
|
||||
i = d->rehashidx;
|
||||
else
|
||||
continue;
|
||||
}
|
||||
if (i >= d->ht[j].size) continue; /* Out of range for this table. */
|
||||
dictEntry *he = d->ht[j].table[i];
|
||||
|
Loading…
x
Reference in New Issue
Block a user