]> wimlib.net Git - wimlib/blobdiff - src/capture_common.c
mount_image.c: Remove unnecessary gotos in alloc_wimfs_fd()
[wimlib] / src / capture_common.c
index f5866b493ed77fe396680e8750e52d80f7b0bcbe..419786120f746c48a6962e44e894addc9ff31cb6 100644 (file)
@@ -171,9 +171,6 @@ match_pattern(const tchar *path,
                        DEBUG("\"%"TS"\" matches the pattern \"%"TS"\"",
                              string, pat);
                        return true;
-               } else {
-                       DEBUG("\"%"TS"\" does not match the pattern \"%"TS"\"",
-                             string, pat);
                }
        }
        return false;
@@ -189,6 +186,7 @@ do_capture_progress(struct add_image_params *params, int status,
                        return;
        case WIMLIB_SCAN_DENTRY_UNSUPPORTED:
        case WIMLIB_SCAN_DENTRY_EXCLUDED:
+       case WIMLIB_SCAN_DENTRY_EXCLUDED_SYMLINK:
                if (!(params->add_flags & WIMLIB_ADD_FLAG_EXCLUDE_VERBOSE))
                        return;
        }