summaryrefslogtreecommitdiff
path: root/pp_ctl.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2006-04-25 12:51:40 +0000
committerNicholas Clark <nick@ccl4.org>2006-04-25 12:51:40 +0000
commit6482a30d2bd2742fb2541ea75066fbd5044cc1f8 (patch)
treeab3f0dd5fd14634c845182fa37b49e3aa865538b /pp_ctl.c
parent6f207bd3ddac24959aa7f00f2d7a66f116dcc7ed (diff)
downloadperl-6482a30d2bd2742fb2541ea75066fbd5044cc1f8.tar.gz
Coverity has started to notice another inconsistency in our NULL
pointer checking. p4raw-id: //depot/perl@27959
Diffstat (limited to 'pp_ctl.c')
-rw-r--r--pp_ctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp_ctl.c b/pp_ctl.c
index c3bc78124a..5e44789b95 100644
--- a/pp_ctl.c
+++ b/pp_ctl.c
@@ -2995,7 +2995,7 @@ S_doeval(pTHX_ int gimme, OP** startop, CV* outside, U32 seq)
DEBUG_x(dump_eval());
/* Register with debugger: */
- if (PERLDB_INTER && saveop->op_type == OP_REQUIRE) {
+ if (PERLDB_INTER && saveop && saveop->op_type == OP_REQUIRE) {
CV * const cv = get_cv("DB::postponed", FALSE);
if (cv) {
dSP;