diff options
author | Nicholas Clark <nick@ccl4.org> | 2011-03-29 16:37:10 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2011-05-18 20:26:54 +0100 |
commit | 0780bc72ac07a0de22bcbd2390e8812c3a23d481 (patch) | |
tree | 72f632e96897bfb3690beec21d2909fb1899d9f8 /regcomp.c | |
parent | f19a8d855f15f8e08413bb049a7effea4cd44b3c (diff) | |
download | perl-0780bc72ac07a0de22bcbd2390e8812c3a23d481.tar.gz |
In Perl_regdupe_internal() eliminate npar, which is assigned to but never used.
It has been unused since 28d8d7f41ab202dd restructured the regexp dup code.
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -11738,12 +11738,11 @@ Perl_regdupe_internal(pTHX_ REGEXP * const rx, CLONE_PARAMS *param) dVAR; struct regexp *const r = (struct regexp *)SvANY(rx); regexp_internal *reti; - int len, npar; + int len; RXi_GET_DECL(r,ri); PERL_ARGS_ASSERT_REGDUPE_INTERNAL; - npar = r->nparens+1; len = ProgLen(ri); Newxc(reti, sizeof(regexp_internal) + len*sizeof(regnode), char, regexp_internal); |