diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-09-17 18:52:00 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-09-17 18:52:00 +0000 |
commit | be981c670f6cd575d33c165ebfacc6c0c96c358b (patch) | |
tree | bfd05294dcf5337f7295717728d4ed72d572e2f8 /regcomp.c | |
parent | b5b5a8f0780c94d6973849925747efe92490a7da (diff) | |
download | perl-be981c670f6cd575d33c165ebfacc6c0c96c358b.tar.gz |
Avoid compiler warning about a variable that isn't used when
-DDEBUGGING is not in force.
p4raw-id: //depot/perl@28862
Diffstat (limited to 'regcomp.c')
-rw-r--r-- | regcomp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2504,7 +2504,9 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, /* dont use tail as the end marker for this traverse */ for ( cur = startbranch ; cur != scan ; cur = regnext( cur ) ) { regnode * const noper = NEXTOPER( cur ); +#if defined(DEBUGGING) || defined(NOJUMPTRIE) regnode * const noper_next = regnext( noper ); +#endif DEBUG_OPTIMISE_r({ regprop(RExC_rx, mysv, cur); |