From: Martin Husemann Date: Tue, 31 Oct 2000 23:39:35 +0000 (+0100) Subject: [ID 20001031.004] Uninitialized auto variable in regcomp.c X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=aa7a4b5649e7441cdc7e4a80ceb1f297664333db;p=p5sagit%2Fp5-mst-13.2.git [ID 20001031.004] Uninitialized auto variable in regcomp.c Message-Id: <200010312239.e9VMdZR01580@night-porter.duskware.de> p4raw-id: //depot/perl@7512 --- diff --git a/regcomp.c b/regcomp.c index 1946720..19b8096 100644 --- a/regcomp.c +++ b/regcomp.c @@ -843,8 +843,8 @@ S_study_chunk(pTHX_ regnode **scanp, I32 *deltap, regnode *last, scan_data_t *da flags &= ~SCF_DO_STCLASS; } else if (strchr((char*)PL_varies,OP(scan))) { - I32 mincount, maxcount, minnext, deltanext, pos_before, fl; - I32 f = flags; + I32 mincount, maxcount, minnext, deltanext, fl; + I32 f = flags, pos_before = 0; regnode *oscan = scan; struct regnode_charclass_class this_class; struct regnode_charclass_class *oclass = NULL;