diff options
author | Jerry D. Hedden <jdhedden@cpan.org> | 2009-11-13 08:54:11 -0500 |
---|---|---|
committer | Vincent Pit <vince@profvince.com> | 2009-11-13 17:44:17 +0100 |
commit | 295d248eafe9bd5657e90c011cae790087ab221d (patch) | |
tree | 90e651ee3efeb1e5c6418bcadf34b7b2a29b36f4 /pp.c | |
parent | 635ccb1c96c21c95705df09e6e8425aaf05c1f69 (diff) | |
download | perl-295d248eafe9bd5657e90c011cae790087ab221d.tar.gz |
Fix compiler warning:
pp.c: In function `Perl_pp_delete':
pp.c:4297: warning: 'sv' might be used uninitialized in this function
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |