Its not necessary to explicitly undef in entersub
authorPeter Martini <PeterCMartini@GMail.com>
Wed, 10 Oct 2012 03:43:46 +0000 (23:43 -0400)
committerPeter Martini <PeterCMartini@GMail.com>
Wed, 17 Oct 2012 20:36:15 +0000 (16:36 -0400)
pp_hot.c

index 75a47da..424f97e 100644 (file)
--- a/pp_hot.c
+++ b/pp_hot.c
@@ -2774,10 +2774,6 @@ try_autoload:
                }
                else if (greedy)
                    SSPUSHUV(saveclearval + (namecnt-- * (1 << SAVE_TIGHT_SHIFT)));
-               while (namecnt > max) {
-                   sv_setsv(PAD_SVl(namecnt), &PL_sv_undef);
-                   --namecnt;
-               }
                while (max) {
                    sv_setsv(PAD_SVl(max), source[max-1]);
                    SvPADSTALE_off(PAD_SVl(max));