diff options
author | stefanf <stefanf@FreeBSD.org> | 2005-04-08 21:24:23 +0000 |
---|---|---|
committer | stefanf <stefanf@FreeBSD.org> | 2005-04-08 21:24:23 +0000 |
commit | d1df2201c097db70f97e5d3b21f3ebd30420f024 (patch) | |
tree | 1f1257523e18e468de19609045ca895488c80d7a /lib/libc/gen/fnmatch.c | |
parent | edc96e2497266ee829656e86d25b59c03c64d27c (diff) | |
download | FreeBSD-src-d1df2201c097db70f97e5d3b21f3ebd30420f024.zip FreeBSD-src-d1df2201c097db70f97e5d3b21f3ebd30420f024.tar.gz |
Remove unused variables and assignments.
Diffstat (limited to 'lib/libc/gen/fnmatch.c')
-rw-r--r-- | lib/libc/gen/fnmatch.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/libc/gen/fnmatch.c b/lib/libc/gen/fnmatch.c index 3c3377f..f041df8 100644 --- a/lib/libc/gen/fnmatch.c +++ b/lib/libc/gen/fnmatch.c @@ -254,7 +254,6 @@ rangematch(pattern, test, flags, newp, patmbs) } else if (*pattern == '\0') { return (RANGE_ERROR); } else if (*pattern == '/' && (flags & FNM_PATHNAME)) { - pattern++; return (RANGE_NOMATCH); } else if (*pattern == '\\' && !(flags & FNM_NOESCAPE)) pattern++; |