X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=src%2Fhardlink.c;h=2fd3857018c19be0e21044ef37af1c7e8fcf2a99;hb=7231431086332de22b2556477bcc5fc2c3e4bdcf;hp=533a51379dd5bbf9938d32cf8f40d0bda220c481;hpb=48967979a46cff063fc94308fe50553d48602454;p=wimlib diff --git a/src/hardlink.c b/src/hardlink.c index 533a5137..2fd38570 100644 --- a/src/hardlink.c +++ b/src/hardlink.c @@ -32,10 +32,10 @@ /* NULL NULL * ^ ^ - * dentry | | - * / \ ----------- ----------- + * dentry | | + * / \ ----------- ----------- * | dentry<---| struct | | struct |---> dentry - * \ / | inode | | inode | + * \ / | inode | | inode | * dentry ------------ ------------ * ^ ^ * | | @@ -47,7 +47,7 @@ * ^ ^ * | | * ----------------- - * inode_table->array | idx 0 | idx 1 | + * inode_table->array | idx 0 | idx 1 | * ----------------- */ @@ -75,7 +75,7 @@ static size_t inode_link_count(const struct inode *inode) return size; } -/* +/* * Insert a dentry into the inode table based on its inode * ID. * @@ -263,7 +263,7 @@ static int fix_true_inode(struct inode *inode, struct hlist_head *inode_list) return 0; } -/* +/* * Fixes up a nominal inode. * * By a nominal inode we mean a group of two or more dentries that share @@ -280,7 +280,7 @@ static int fix_true_inode(struct inode *inode, struct hlist_head *inode_list) static int fix_nominal_inode(struct inode *inode, struct hlist_head *inode_list) { - struct dentry *dentry, *ref_dentry; + struct dentry *dentry; struct hlist_node *cur, *tmp; int ret; size_t num_true_inodes; @@ -315,7 +315,7 @@ fix_nominal_inode(struct inode *inode, struct hlist_head *inode_list) if (list_empty(&dentries_with_data_streams)) { #ifdef ENABLE_DEBUG if (inode->link_count > 1) { - DEBUG("Found link group of size %zu without " + DEBUG("Found link group of size %u without " "any data streams:", inode->link_count); print_inode_dentries(inode); DEBUG("We are going to interpret it as true "