diff options
-rw-r--r-- | lib/regex.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/regex.c b/lib/regex.c index 8aefe49fe..40804405d 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; |