diff options
author | Jerry D. Hedden <jdhedden@cpan.org> | 2009-11-13 08:57:22 -0500 |
---|---|---|
committer | Vincent Pit <vince@profvince.com> | 2009-11-13 17:44:17 +0100 |
commit | b263a1ad7bd90448db5ef3b79b444fff3dcb2473 (patch) | |
tree | 1d536177f6764b8a1705282e829e531ffd0a4e04 /pp_ctl.c | |
parent | 520bb15084a0e2fc0e05c6506b3265cad2d8f438 (diff) | |
download | perl-b263a1ad7bd90448db5ef3b79b444fff3dcb2473.tar.gz |
Fix compiler warnings:
pp_ctl.c: In function `Perl_pp_return':
pp_ctl.c:2092: warning: 'retop' might be used uninitialized in this function
pp_ctl.c: In function `Perl_pp_last':
pp_ctl.c:2214: warning: 'nextop' might be used uninitialized in this function
Diffstat (limited to 'pp_ctl.c')
-rw-r--r-- | pp_ctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2089,7 +2089,7 @@ PP(pp_return) PMOP *newpm; I32 optype = 0; SV *sv; - OP *retop; + OP *retop = NULL; const I32 cxix = dopoptosub(cxstack_ix); @@ -2211,7 +2211,7 @@ PP(pp_last) I32 pop2 = 0; I32 gimme; I32 optype; - OP *nextop; + OP *nextop = NULL; SV **newsp; PMOP *newpm; SV **mark; |