Minor tweak to improve code clarity.

This commit is contained in:
Raymond Hettinger 2015-01-30 20:09:23 -08:00
parent 06a1c8dfa0
commit 9edd753229
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}