From 07351a044960f259c8730de3f81356fbcdbe2bbf Mon Sep 17 00:00:00 2001 From: Raymond Hettinger Date: Sat, 17 Aug 2013 02:39:46 -0700 Subject: Remove the else-clause because the conditions are no longer mutually exclusive. --- Objects/setobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objects/setobject.c b/Objects/setobject.c index da3b955..0db7e88 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; -- cgit v0.12