From: Hugo van der Sanden Date: Sat, 17 Aug 2002 01:17:09 +0000 (+0000) Subject: pp.c warns that sv may be used uninitialised in pp_delete() X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=af288a606d0d98092d972aa99e1ea87fbb35d29e;p=p5sagit%2Fp5-mst-13.2.git pp.c warns that sv may be used uninitialised in pp_delete() p4raw-id: //depot/perl@17726 --- diff --git a/pp.c b/pp.c index 322e464..06a78a4 100644 --- a/pp.c +++ b/pp.c @@ -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");