]> wimlib.net Git - wimlib/blobdiff - src/inode_fixup.c
win32_capture.c: Remove unused variable
[wimlib] / src / inode_fixup.c
index 62d6ca6d0a5d8970ab416f6f90946f9ebc2793e9..2eb15a87d83d55e6c2cece223f475f58688f2746 100644 (file)
@@ -73,11 +73,9 @@ ads_entries_have_same_name(const struct wim_ads_entry *entry_1,
 }
 
 static bool
-ref_inodes_consistent(const struct wim_inode * restrict ref_inode_1,
-                     const struct wim_inode * restrict ref_inode_2)
+ref_inodes_consistent(const struct wim_inode *ref_inode_1,
+                     const struct wim_inode *ref_inode_2)
 {
-       wimlib_assert(ref_inode_1 != ref_inode_2);
-
        if (ref_inode_1->i_num_ads != ref_inode_2->i_num_ads)
                return false;
        if (ref_inode_1->i_security_id != ref_inode_2->i_security_id
@@ -432,8 +430,8 @@ inode_table_insert(struct wim_dentry *dentry, void *_table)
  * WIM) is examined for consistency and may be split into multiple "true" inodes
  * that are maximally sized consistent sets of dentries.
  *
- * On success, the list of "true" inodes, linked by the i_hlist field,
- * is returned in the hlist @inode_list.
+ * On success, the list of "true" inodes, linked by the i_list field,
+ * is returned in the list @inode_list.
  *
  * Return values:
  *     WIMLIB_ERR_SUCCESS (0)
@@ -476,7 +474,7 @@ dentry_tree_fix_inodes(struct wim_dentry *root, struct list_head *inode_list)
                }
        }
        /* On success, all the inodes have been moved to the image inode list,
-        * so there's no need to delete from from the hash lists in the inode
+        * so there's no need to delete from the hash lists in the inode
         * table before freeing the hash buckets array directly. */
        ret = 0;
        goto out_destroy_inode_table_raw;