diff options
author | Raymond Hettinger <python@rcn.com> | 2013-08-17 02:39:46 -0700 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-08-17 02:39:46 -0700 |
commit | 07351a044960f259c8730de3f81356fbcdbe2bbf (patch) | |
tree | 1f2ade55db1ed47f5cf3630b1cff41ec07c8ecd4 /Objects/setobject.c | |
parent | 237b34b0747ac97d8e63cc5b1379db753da57c18 (diff) | |
download | cpython-git-07351a044960f259c8730de3f81356fbcdbe2bbf.tar.gz |
Remove the else-clause because the conditions are no longer mutually exclusive.
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 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; |