From: Jim Meyering Date: Fri, 27 Mar 1998 22:29:05 +0000 (+0000) Subject: remove dcl of unused local, num_regs X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=12cc8b970806cca3260e499c74d2f001df705a60;p=pspp remove dcl of unused local, num_regs --- 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;