From 4b1709c81eda847f426abd956588d275ab068d2c Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Mon, 27 Aug 2012 14:56:52 -0700 Subject: =?UTF-8?q?op.c:=20newSTATEOP:=20don=E2=80=99t=20check=20PL=5Fpars?= =?UTF-8?q?er=20after=20using=20it?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit If it is null, we would already have crashed when reaching this statement. --- op.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/op.c b/op.c index c8196b8d4b..f807d33271 100644 --- a/op.c +++ b/op.c @@ -5605,8 +5605,7 @@ Perl_newSTATEOP(pTHX_ I32 flags, char *label, OP *o) CopLINE_set(cop, CopLINE(PL_curcop)); else { CopLINE_set(cop, PL_parser->copline); - if (PL_parser) - PL_parser->copline = NOLINE; + PL_parser->copline = NOLINE; } #ifdef USE_ITHREADS CopFILE_set(cop, CopFILE(PL_curcop)); /* XXX share in a pvtable? */ -- cgit v1.2.1