diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-07-07 23:11:23 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-09-15 22:45:00 -0700 |
commit | b0305fa36f2ab4eebf4c0efdf7cfb2a4c20de12d (patch) | |
tree | b57eb905ab02be808ee0bee7635c7613cdb8deb3 /op.c | |
parent | a56613a9661d884386f51a76be7799ff26da6752 (diff) | |
download | perl-b0305fa36f2ab4eebf4c0efdf7cfb2a4c20de12d.tar.gz |
op.c:newMYSUB: inline var used only once
as of the previous commit
Diffstat (limited to 'op.c')
-rw-r--r-- | op.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -6871,7 +6871,6 @@ Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) register CV *cv = NULL; register CV *compcv = PL_compcv; SV *const_sv; - const bool ec = PL_parser && PL_parser->error_count; PADNAME *name; PERL_ARGS_ASSERT_NEWMYSUB; @@ -6904,7 +6903,7 @@ Perl_newMYSUB(pTHX_ I32 floor, OP *o, OP *proto, OP *attrs, OP *block) SAVEFREEOP(attrs); } - if (ec) { + if (PL_parser && PL_parser->error_count) { op_free(block); goto done; } |