Minor beautification. Put updates and declarations in a more logical order.
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 017fcd8..22d9cb3 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -60,8 +60,8 @@
size_t perturb = hash;
size_t mask = so->mask;
size_t i = (size_t)hash; /* Unsigned for defined overflow behavior. */
- int cmp;
size_t j;
+ int cmp;
entry = &table[i & mask];
if (entry->key == NULL)
@@ -211,9 +211,9 @@
i = i * 5 + 1 + perturb;
}
found_null:
- so->fill++;
entry->key = key;
entry->hash = hash;
+ so->fill++;
so->used++;
}