From c404d42afdfcd548f3486781fd748ae2b462f6d4 Mon Sep 17 00:00:00 2001 From: Father Chrysostomos Date: Wed, 23 Nov 2011 12:34:49 -0800 Subject: [PATCH] Remove $SIG{__WARN__} from XSLoader.t Nothing is using the results of this handler any more. --- dist/XSLoader/t/XSLoader.t | 3 --- 1 file changed, 3 deletions(-) diff --git a/dist/XSLoader/t/XSLoader.t b/dist/XSLoader/t/XSLoader.t index aab0af1..164e4e5 100644 --- a/dist/XSLoader/t/XSLoader.t +++ b/dist/XSLoader/t/XSLoader.t @@ -75,9 +75,6 @@ my $extensions = $Config{'extensions'}; $extensions =~ s|/|::|g; for my $module (sort keys %modules) { - my $warnings = ""; - local $SIG{__WARN__} = sub { $warnings = $_[0] }; - SKIP: { skip "$module not available", 3 if $extensions !~ /\b$module\b/; -- 2.7.4