summaryrefslogtreecommitdiff
path: root/run.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-07-08 01:24:25 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-07-08 01:24:25 +0000
commitf248d07102861fd4d0819cc0b602f81105bc562c (patch)
tree56fb766b87f14a99fd56b491dc6fa138a5c63e0f /run.c
parent3e3318e754fa4289ad1c682811dbe6a31cd59e26 (diff)
downloadperl-f248d07102861fd4d0819cc0b602f81105bc562c.tar.gz
fixes for logical bugs in the lexwarn patch; other tweaks to avoid
type mismatch problems p4raw-id: //depot/perl@3658
Diffstat (limited to 'run.c')
-rw-r--r--run.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/run.c b/run.c
index e218144b63..be532046c6 100644
--- a/run.c
+++ b/run.c
@@ -39,8 +39,9 @@ Perl_runops_debug(pTHX)
{
#ifdef DEBUGGING
dTHR;
- if (!PL_op && ckWARN_d(WARN_DEBUGGING)) {
- Perl_warner(aTHX_ WARN_DEBUGGING, "NULL OP IN RUN");
+ if (!PL_op) {
+ if (ckWARN_d(WARN_DEBUGGING))
+ Perl_warner(aTHX_ WARN_DEBUGGING, "NULL OP IN RUN");
return 0;
}