From: Steve Peters Date: Wed, 5 Apr 2006 15:31:18 +0000 (+0000) Subject: Initializing variables is good. This is another Coverity catch. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=eae70eaa9553fc7b3ffcbb570627b8b9ae6ab9f4;p=p5sagit%2Fp5-mst-13.2.git Initializing variables is good. This is another Coverity catch. p4raw-id: //depot/perl@27723 --- diff --git a/gv.c b/gv.c index 5c1becb..9834b7a 100644 --- 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;