From a53e3292a4e94fb81d4870cd1b029a3cbf580c65 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Fri, 25 Feb 2000 17:08:15 +0000 Subject: Update. 2000-02-25 Andreas Jaeger * stdio-common/Makefile (CFLAGS-_itoa.c): The code has been fixed, we don't need to disable the warnings anymore, remove them. * elf/Makefile (CFLAGS-dl-load.c): Likewise. * posix/Makefile (CFLAGS-regex.c): Remove not needed warning flag. * posix/regex.c (regex_compile): Remove unused variables. 2000-02-25 Andreas Jaeger * sysdeps/unix/sysv/linux/bits/msq.h (struct msqid_ds): Use __pid_t. * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise. 2000-02-25 Andreas Jaeger * locale/programs/ld-ctype.c (allocate_arrays): Add missing variable declaration. --- posix/Makefile | 2 +- posix/regex.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'posix') diff --git a/posix/Makefile b/posix/Makefile index 674277e48b..022b45509b 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 2f3a9b5b8f..507ac86545 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, -- cgit 1.4.1