]> wimlib.net Git - wimlib/blobdiff - src/ntfs-3g_capture.c
Remove some dead assignments
[wimlib] / src / ntfs-3g_capture.c
index 80abca02c8143864bb3493ed6eeea15930c4add7..af9ebbee05cc5df78ed0f231cdbf97cdf280dd91 100644 (file)
@@ -537,7 +537,6 @@ build_dentry_tree_ntfs_recursive(struct wim_dentry **root_ret,
        if (should_exclude_path(path, path_len, params->config)) {
                /* Exclude a file or directory tree based on the capture
                 * configuration file.  */
-               ret = 0;
                goto out_progress;
        }
 
@@ -577,7 +576,6 @@ build_dentry_tree_ntfs_recursive(struct wim_dentry **root_ret,
 
        if (inode->i_nlink > 1) {
                /* Shared inode; nothing more to do */
-               ret = 0;
                goto out_progress;
        }