Mercurial > hg > octave-lyh > gnulib-hg
changeset 1291:c4a47de2e7d0
remove dcl of unused local, num_regs
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 27 Mar 1998 22:29:05 +0000 |
parents | 4073a2dda89d |
children | af4efc88e560 |
files | lib/regex.c |
diffstat | 1 files changed, 2 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/regex.c +++ b/lib/regex.c @@ -1201,8 +1201,8 @@ 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 @@ #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;