diff options
Diffstat (limited to 'nuttx/libc/misc/lib_match.c')
-rw-r--r-- | nuttx/libc/misc/lib_match.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/nuttx/libc/misc/lib_match.c b/nuttx/libc/misc/lib_match.c index 4f96542f6..3bebb1a94 100644 --- a/nuttx/libc/misc/lib_match.c +++ b/nuttx/libc/misc/lib_match.c @@ -60,7 +60,6 @@ static int match_one(const char *pattern, int patlen, const char *string) { const char *p; char first; - char last; int pl; int i; @@ -101,7 +100,6 @@ static int match_one(const char *pattern, int patlen, const char *string) if (*p == '-') { p++; - last = *p++; if (*string >= first && *string <= *p) { /* Match found. Advance to the ']' */ |