diff options
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r-- | Objects/setobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index 2c38bf3..7236dd5 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -150,7 +150,7 @@ set_insert_clean(PySetObject *so, PyObject *key, Py_hash_t hash) goto found_null; if (i + LINEAR_PROBES <= mask) { for (j = 1; j <= LINEAR_PROBES; j++) { - entry = &table[i + j]; + entry++; if (entry->key == NULL) goto found_null; } |