diff options
author | Hugo van der Sanden <hv@crypt.org> | 2002-08-17 01:17:09 +0000 |
---|---|---|
committer | hv <hv@crypt.org> | 2002-08-17 01:17:09 +0000 |
commit | eb98cdde16e9b7c3342f9e32e8c24b31cbce1302 (patch) | |
tree | 4e6455c455923583f7a0b066f119cd4558043708 /pp.c | |
parent | a9b4406fbfe67d66e4b84b1632c3abea5fef71ad (diff) | |
download | perl-eb98cdde16e9b7c3342f9e32e8c24b31cbce1302.tar.gz |
pp.c warns that sv may be used uninitialised in pp_delete()
p4raw-id: //depot/perl@17726
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3763,6 +3763,8 @@ PP(pp_delete) else if (SvTYPE(hv) == SVt_PVAV) { if (PL_op->op_flags & OPf_SPECIAL) sv = av_delete((AV*)hv, SvIV(keysv), discard); + else + DIE(aTHX_ "panic: avhv_delete no longer supported"); } else DIE(aTHX_ "Not a HASH reference"); |