summaryrefslogtreecommitdiff
path: root/op.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-06-13 04:04:40 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-06-13 04:04:40 +0000
commitd728199f8fa72dc33b858d549365cfdf2cb2dca0 (patch)
tree4fa2b301d48cc932f234c8b1244b864d55f1d253 /op.c
parent73c4f7a1d0b3ac27682d86c953e22cbc7dc810e6 (diff)
downloadperl-d728199f8fa72dc33b858d549365cfdf2cb2dca0.tar.gz
fix coredumper in change#3498
p4raw-link: @3498 on //depot/cfgperl: 697943021785eb8447e25eb51a6f27fd78921863 p4raw-id: //depot/perl@3539
Diffstat (limited to 'op.c')
-rw-r--r--op.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/op.c b/op.c
index 8257d7dd14..947dfa32b3 100644
--- a/op.c
+++ b/op.c
@@ -4993,7 +4993,7 @@ OP *
Perl_ck_defined(pTHX_ OP *o) /* 19990527 MJD */
{
dTHR;
- if (ckWARN(WARN_DEPRECATED)) {
+ if (ckWARN(WARN_DEPRECATED) && (o->op_flags & OPf_KIDS)) {
switch (cUNOPo->op_first->op_type) {
case OP_RV2AV:
case OP_PADAV: