From: Jarkko Hietaniemi Date: Sun, 24 Feb 2002 13:02:53 +0000 (+0000) Subject: Using uninitialized (and wrong) variables is not good. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=9ede7db1c666d50c17ae5d9e90be0155517a4c0c;p=p5sagit%2Fp5-mst-13.2.git Using uninitialized (and wrong) variables is not good. p4raw-id: //depot/perl@14851 --- diff --git a/regcomp.c b/regcomp.c index 854dc59..2e8254e 100644 --- a/regcomp.c +++ b/regcomp.c @@ -3206,7 +3206,7 @@ tryagain: } else { reguni(pRExC_state, ender, s, &unilen); - if (numlen > 0) { + if (unilen > 0) { s += unilen; len += unilen; } @@ -3243,7 +3243,7 @@ tryagain: } else { reguni(pRExC_state, ender, s, &unilen); - if (numlen > 0) { + if (unilen > 0) { s += unilen; len += unilen; }