From: Raymond Hettinger Date: Sat, 17 Aug 2013 09:39:46 +0000 (-0700) Subject: Remove the else-clause because the conditions are no longer mutually exclusive. X-Git-Tag: v3.4.0a2~200 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=07351a044960f259c8730de3f81356fbcdbe2bbf;p=python Remove the else-clause because the conditions are no longer mutually exclusive. --- diff --git a/Objects/setobject.c b/Objects/setobject.c index da3b95555f..0db7e885e9 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -140,7 +140,7 @@ set_lookkey(PySetObject *so, PyObject *key, Py_hash_t hash) return set_lookkey(so, key, hash); } } - else if (entry->key == dummy && freeslot == NULL) + if (entry->key == dummy && freeslot == NULL) freeslot = entry; } return entry;