summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorGurusamy Sarathy <gsar@cpan.org>1999-12-04 04:42:25 +0000
committerGurusamy Sarathy <gsar@cpan.org>1999-12-04 04:42:25 +0000
commitb89fed5ff1fc43a68f98ebc06fd23230eb6697a8 (patch)
tree36a5b4bd2d82326f1b35dc0f697cea5b0e3a1a36 /pp.c
parente36f48ebb7060aae39976a966a13100fba5c0df0 (diff)
downloadperl-b89fed5ff1fc43a68f98ebc06fd23230eb6697a8.tar.gz
make uninitialized value warnings report opcode
p4raw-id: //depot/perl@4641
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pp.c b/pp.c
index f999b28477..8736144e69 100644
--- a/pp.c
+++ b/pp.c
@@ -264,7 +264,7 @@ PP(pp_rv2gv)
PL_op->op_private & HINT_STRICT_REFS)
DIE(aTHX_ PL_no_usym, "a symbol");
if (ckWARN(WARN_UNINITIALIZED))
- Perl_warner(aTHX_ WARN_UNINITIALIZED, PL_warn_uninit);
+ report_uninit();
RETSETUNDEF;
}
sym = SvPV(sv, n_a);
@@ -320,7 +320,7 @@ PP(pp_rv2sv)
PL_op->op_private & HINT_STRICT_REFS)
DIE(aTHX_ PL_no_usym, "a SCALAR");
if (ckWARN(WARN_UNINITIALIZED))
- Perl_warner(aTHX_ WARN_UNINITIALIZED, PL_warn_uninit);
+ report_uninit();
RETSETUNDEF;
}
sym = SvPV(sv, n_a);