]> wimlib.net Git - wimlib/blobdiff - src/write.c
Remove unnecessary argument to hlist iteration macros
[wimlib] / src / write.c
index 6be215e3e76570bd38aa12fc28afec740911f92f..ef78f9cadfc93e5df4fbb029d1f8e27270b2af3f 100644 (file)
@@ -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;