X-Git-Url: https://wimlib.net/git/?p=wimlib;a=blobdiff_plain;f=src%2Fwrite.c;h=ef78f9cadfc93e5df4fbb029d1f8e27270b2af3f;hp=6be215e3e76570bd38aa12fc28afec740911f92f;hb=f8223526610a6ed9410ed6ce2e704ef15ab8cade;hpb=9285ed562c208959e0d5034e0ab4289cc40a31a2 diff --git a/src/write.c b/src/write.c index 6be215e3..ef78f9ca 100644 --- a/src/write.c +++ b/src/write.c @@ -1834,11 +1834,10 @@ blob_size_table_insert(struct blob_descriptor *blob, void *_tab) struct blob_size_table *tab = _tab; size_t pos; struct blob_descriptor *same_size_blob; - struct hlist_node *tmp; pos = hash_u64(blob->size) % tab->capacity; blob->unique_size = 1; - hlist_for_each_entry(same_size_blob, tmp, &tab->array[pos], hash_list_2) { + hlist_for_each_entry(same_size_blob, &tab->array[pos], hash_list_2) { if (same_size_blob->size == blob->size) { blob->unique_size = 0; same_size_blob->unique_size = 0;