From 12cc8b970806cca3260e499c74d2f001df705a60 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Fri, 27 Mar 1998 22:29:05 +0000 Subject: [PATCH] remove dcl of unused local, num_regs --- lib/regex.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/regex.c b/lib/regex.c index 8aefe49fef..40804405d9 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -1201,8 +1201,8 @@ typedef struct if we ever fail back to it. Requires variables fail_stack, regstart, regend, reg_info, and - num_regs be declared. DOUBLE_FAIL_STACK requires `destination' be - declared. + num_regs_pushed be declared. DOUBLE_FAIL_STACK requires `destination' + be declared. Does `return FAILURE_CODE' if runs out of memory. */ @@ -3092,8 +3092,6 @@ re_compile_fastmap (bufp) #ifndef REGEX_MALLOC char *destination; #endif - /* We don't push any register information onto the failure stack. */ - unsigned num_regs = 0; register char *fastmap = bufp->fastmap; unsigned char *pattern = bufp->buffer; -- 2.30.2