From: Jerry D. Hedden Date: Fri, 13 Nov 2009 13:54:11 +0000 (-0500) Subject: Fix compiler warning: X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=295d248eafe9bd5657e90c011cae790087ab221d;p=p5sagit%2Fp5-mst-13.2.git Fix compiler warning: pp.c: In function `Perl_pp_delete': pp.c:4297: warning: 'sv' might be used uninitialized in this function --- diff --git a/pp.c b/pp.c index 4b6d11f..7641b54 100644 --- a/pp.c +++ b/pp.c @@ -4294,7 +4294,7 @@ PP(pp_delete) else { SV *keysv = POPs; HV * const hv = MUTABLE_HV(POPs); - SV *sv; + SV *sv = NULL; if (SvTYPE(hv) == SVt_PVHV) sv = hv_delete_ent(hv, keysv, discard, 0); else if (SvTYPE(hv) == SVt_PVAV) {