Initializing variables is good. This is another Coverity catch.
Steve Peters [Wed, 5 Apr 2006 15:31:18 +0000 (15:31 +0000)]
p4raw-id: //depot/perl@27723

gv.c

diff --git a/gv.c b/gv.c
index 5c1becb..9834b7a 100644 (file)
--- a/gv.c
+++ b/gv.c
@@ -575,7 +575,7 @@ Perl_gv_autoload4(pTHX_ HV *stash, const char *name, STRLEN len, I32 method)
     GV* vargv;
     SV* varsv;
     const char *packname = "";
-    STRLEN packname_len;
+    STRLEN packname_len = 0;
 
     if (len == S_autolen && strnEQ(name, S_autoload, S_autolen))
        return NULL;