This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove package; (Heh heh.)
[perl5.git] / gv.c
diff --git a/gv.c b/gv.c
index 88e343a..6418930 100644 (file)
--- a/gv.c
+++ b/gv.c
@@ -766,10 +766,8 @@ Perl_gv_fetchpv(pTHX_ const char *nambeg, I32 add, I32 sv_type)
                  : sv_type == SVt_PVAV ? "@"
                  : sv_type == SVt_PVHV ? "%"
                  : ""), name));
-           stash = PL_nullstash;
        }
-       else
-           return Nullgv;
+       return Nullgv;
     }
 
     if (!SvREFCNT(stash))      /* symbol table under destruction */