In perl.git, the branch blead has been updated

<http://perl5.git.perl.org/perl.git/commitdiff/e5355af71b2544dc8179d46621910ba690725689?hp=be022d23b5dec6da05d4e0b83699b87d88e8e3aa>

- Log -----------------------------------------------------------------
commit e5355af71b2544dc8179d46621910ba690725689
Author: Karl Williamson <[email protected]>
Date:   Sun Jan 13 17:22:34 2013 -0700

    regcomp.c: Silence compiler warning
    
    Some compilers say this can be used uninitialized. I don't believe them,
    but silencing them will save effort in the long run.
-----------------------------------------------------------------------

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

diff --git a/regcomp.c b/regcomp.c
index 53e84f8..c0a37b2 100644
--- a/regcomp.c
+++ b/regcomp.c
@@ -10656,7 +10656,8 @@ tryagain:
                        }
                    case 'x':
                        {
-                           UV result;
+                            UV result = UV_MAX; /* initialize to erroneous
+                                                   value */
                            const char* error_msg;
 
                            bool valid = grok_bslash_x(&p,

--
Perl5 Master Repository

Reply via email to