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 | af288a606d0d98092d972aa99e1ea87fbb35d29e (patch) | |
tree | 4e6455c455923583f7a0b066f119cd4558043708 /pp.c | |
parent | 6d822dc4045278fb03135b2683bac92dba061369 (diff) | |
download | perl-af288a606d0d98092d972aa99e1ea87fbb35d29e.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"); |