In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/6703dff2fdca09b5e94caa860a909c14a1ffdaa2?hp=b4295830fe1ff58bc83d963006afeb9a2e4fb2d0>

- Log -----------------------------------------------------------------
commit 6703dff2fdca09b5e94caa860a909c14a1ffdaa2
Author: Karl Williamson <[email protected]>
Date:   Thu Oct 18 10:27:38 2012 -0600

    regcomp.c: Use unlikely initialization value; not 0
    
    Commit b4295830fe1ff58bc83d963006afeb9a2e4fb2d0 added initialization to
    an uninitialized variable.  I meant to change it to a less likely value,
    but didn't manage to get the change in, contrary to what its commit
    message says.
-----------------------------------------------------------------------

Summary of changes:
 regcomp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/regcomp.c b/regcomp.c
index b6e27df..c4875a3 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -11442,7 +11442,7 @@ S_regclass(pTHX_ RExC_state_t *pRExC_state, I32 *flagp, 
U32 depth)
     UV nextvalue;
     UV prevvalue = OOB_UNICODE, save_prevvalue = OOB_UNICODE;
     IV range = 0;
-    UV value = 0, save_value = 0;
+    UV value = OOB_UNICODE, save_value = OOB_UNICODE;
     regnode *ret;
     STRLEN numlen;
     IV namedclass = OOB_NAMEDCLASS;

--
Perl5 Master Repository

Reply via email to