From: Raymond Hettinger Date: Sat, 31 Jan 2015 04:09:23 +0000 (-0800) Subject: Minor tweak to improve code clarity. X-Git-Tag: v3.5.0a1~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9edd753229011bef100a3d4156adffbbe712fc0b;p=thirdparty%2FPython%2Fcpython.git Minor tweak to improve code clarity. --- diff --git a/Objects/setobject.c b/Objects/setobject.c index 2c38bf3a65d1..7236dd57c651 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; }