]> wimlib.net Git - wimlib/commitdiff
match_pattern(): No DEBUG if pattern does not match
authorEric Biggers <ebiggers3@gmail.com>
Thu, 2 Jan 2014 17:16:54 +0000 (11:16 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Thu, 2 Jan 2014 17:16:54 +0000 (11:16 -0600)
src/capture_common.c

index ffdc7a88dfd202f6b285c95d5d4948ab0fe9570a..419786120f746c48a6962e44e894addc9ff31cb6 100644 (file)
@@ -171,9 +171,6 @@ match_pattern(const tchar *path,
                        DEBUG("\"%"TS"\" matches the pattern \"%"TS"\"",
                              string, pat);
                        return true;
                        DEBUG("\"%"TS"\" matches the pattern \"%"TS"\"",
                              string, pat);
                        return true;
-               } else {
-                       DEBUG("\"%"TS"\" does not match the pattern \"%"TS"\"",
-                             string, pat);
                }
        }
        return false;
                }
        }
        return false;