diff options
Diffstat (limited to 'posix/regex.c')
-rw-r--r-- | posix/regex.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/posix/regex.c b/posix/regex.c index 1bc609621b..bf0e7c46cc 100644 --- a/posix/regex.c +++ b/posix/regex.c @@ -1198,8 +1198,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. */ @@ -3089,8 +3089,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; |