summaryrefslogtreecommitdiff
path: root/src/dict.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dict.c')
-rw-r--r--src/dict.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dict.c b/src/dict.c
index 95a141d0d..2cf9d4839 100644
--- a/src/dict.c
+++ b/src/dict.c
@@ -705,9 +705,9 @@ 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)
+ if (i >= d->ht[1].size)
i = d->rehashidx;
- else
+ else
continue;
}
if (i >= d->ht[j].size) continue; /* Out of range for this table. */