This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove the variables stash and export_ok from the BOOT block in B.xs
authorNicholas Clark <nick@ccl4.org>
Sun, 31 Oct 2010 09:31:31 +0000 (09:31 +0000)
committerNicholas Clark <nick@ccl4.org>
Sun, 31 Oct 2010 09:31:31 +0000 (09:31 +0000)
These are no longer needed since commit b1826b71659a2c08 changed how B was
generating its exported constants.

ext/B/B.xs

index a98f765..872d399 100644 (file)
@@ -597,8 +597,6 @@ PROTOTYPES: DISABLE
 
 BOOT:
 {
-    HV *stash = gv_stashpvs("B", GV_ADD);
-    AV *export_ok = perl_get_av("B::EXPORT_OK", GV_ADD);
     MY_CXT_INIT;
     specialsv_list[0] = Nullsv;
     specialsv_list[1] = &PL_sv_undef;