Eliminate unnecessary test.

This commit is contained in:
Dianne Skoll
2024-12-12 10:12:50 -05:00
parent f83fec5563
commit dc89a6fba9

View File

@@ -222,9 +222,6 @@ hash_table_resize(hash_table *t, int dir)
/* Move everything from the old buckets into the new */
for (size_t i=0; i<num_old_buckets; i++) {
if (!t->buckets[i]) {
continue;
}
void *p = t->buckets[i];
while(p) {
struct hash_link *l = LINK(t, p);