diff options
Diffstat (limited to 'posix')
-rw-r--r-- | posix/Makefile | 2 | ||||
-rw-r--r-- | posix/regex.c | 4 |
2 files changed, 1 insertions, 5 deletions
diff --git a/posix/Makefile b/posix/Makefile index 674277e..022b455 100644 --- a/posix/Makefile +++ b/posix/Makefile @@ -91,7 +91,7 @@ do-wordexp-test: $(objpfx)wordexp-test endif endif -CFLAGS-regex.c = -Wno-unused -Wno-strict-prototypes -DDEBUG +CFLAGS-regex.c = -Wno-strict-prototypes -DDEBUG CFLAGS-getaddrinfo.c = -DRESOLVER $(objpfx)libposix.a: $(dep-dummy-lib); $(make-dummy-lib) diff --git a/posix/regex.c b/posix/regex.c index 2f3a9b5..507ac86 100644 --- a/posix/regex.c +++ b/posix/regex.c @@ -2448,7 +2448,6 @@ regex_compile (pattern, size, syntax, bufp) const int32_t *indirect; int32_t idx; const unsigned char *cp = str; - int32_t weight; int ch; /* This #include defines a local function! */ @@ -2584,11 +2583,8 @@ regex_compile (pattern, size, syntax, bufp) const unsigned char *extra; int32_t idx; int32_t elem; - const unsigned char *cp = str; - int32_t weight; int32_t second; int32_t hash; - int ch; table_size = _NL_CURRENT_WORD (LC_COLLATE, |