From: Nicholas Clark Date: Tue, 18 Apr 2006 19:52:19 +0000 (+0000) Subject: Revert 27869 at Jarkko's request. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=451949058497c9086f197bf20b634564cea92c9b;p=p5sagit%2Fp5-mst-13.2.git Revert 27869 at Jarkko's request. p4raw-id: //depot/perl@27894 --- diff --git a/regcomp.c b/regcomp.c index d2e99a1..0e53589 100644 --- a/regcomp.c +++ b/regcomp.c @@ -1733,8 +1733,6 @@ S_study_chunk(pTHX_ RExC_state_t *pRExC_state, regnode **scanp, I32 *deltap, } if (code == IFTHEN && num < 2) /* Empty ELSE branch */ min1 = 0; - if ((flags & (SCF_DO_SUBSTR | SCF_DO_STCLASS)) && !data) - Perl_croak(aTHX_ "panic: null data in study_chunk"); if (flags & SCF_DO_SUBSTR) { data->pos_min += min1; data->pos_delta += max1 - min1;