]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove unreachable code.
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 6 Jan 2010 12:16:37 +0000 (07:16 -0500)
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>
Wed, 6 Jan 2010 12:16:37 +0000 (07:16 -0500)
SVN-Revision: 1809

libarchive_fe/pathmatch.c

index 80a0b6aa04f72b81a0cb5c541d6238b3fb23bc17..85074bdb30b2062c5052af769e951028d968e1b9 100644 (file)
@@ -131,7 +131,6 @@ pm(const char *p, const char *s, int flags)
                                s = pm_slashskip(s);
                        }
                        return (*s == '\0');
-                       break;
                case '?':
                        /* ? always succeds, unless we hit end of 's' */
                        if (*s == '\0')
@@ -150,7 +149,6 @@ pm(const char *p, const char *s, int flags)
                                ++s;
                        }
                        return (0);
-                       break;
                case '[':
                        /*
                         * Find the end of the [...] character class,