From be981c670f6cd575d33c165ebfacc6c0c96c358b Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Sun, 17 Sep 2006 18:52:00 +0000 Subject: [PATCH] Avoid compiler warning about a variable that isn't used when -DDEBUGGING is not in force. p4raw-id: //depot/perl@28862 --- regcomp.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/regcomp.c b/regcomp.c index 9612c93..db73dfb 100644 --- a/regcomp.c +++ b/regcomp.c @@ -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); -- 2.7.4