summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2005-05-08 22:09:18 +0000
committerNicholas Clark <nick@ccl4.org>2005-05-08 22:09:18 +0000
commitce5030a2e3d52efc311b379279a2db8219fc84b1 (patch)
tree53235fae81cd214056b3d086fd220cc688dd3a57 /pp.c
parent03e367892efb7218f1a5ccab257a8ceaf34be0f3 (diff)
downloadperl-ce5030a2e3d52efc311b379279a2db8219fc84b1.tar.gz
Perl_croak uses perl's printf, so can pass in SVs direct - no need for
SvPV and a %s format. p4raw-id: //depot/perl@24420
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/pp.c b/pp.c
index fa32601167..0761ff1eab 100644
--- a/pp.c
+++ b/pp.c
@@ -4025,8 +4025,7 @@ PP(pp_hslice)
if (lval) {
if (!svp || *svp == &PL_sv_undef) {
- STRLEN n_a;
- DIE(aTHX_ PL_no_helem, SvPV(keysv, n_a));
+ DIE(aTHX_ PL_no_helem_sv, keysv);
}
if (localizing) {
if (preeminent)