Minor code cleanup.
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 70ec644..5b430b3 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -53,7 +53,7 @@
 {
     setentry *table = so->table;
     setentry *entry;
-    size_t perturb = hash;
+    size_t perturb;
     size_t mask = so->mask;
     size_t i = (size_t)hash & mask; /* Unsigned for defined overflow behavior */
     size_t j;
@@ -63,6 +63,8 @@
     if (entry->key == NULL)
         return entry;
 
+    perturb = hash;
+
     while (1) {
         if (entry->hash == hash) {
             PyObject *startkey = entry->key;
@@ -132,9 +134,9 @@
 set_insert_key(PySetObject *so, PyObject *key, Py_hash_t hash)
 {
     setentry *table = so->table;
-    setentry *freeslot = NULL;
+    setentry *freeslot;
     setentry *entry;
-    size_t perturb = hash;
+    size_t perturb;
     size_t mask = so->mask;
     size_t i = (size_t)hash & mask; /* Unsigned for defined overflow behavior */
     size_t j;