In perl.git, the branch blead has been updated <http://perl5.git.perl.org/perl.git/commitdiff/76a2b88f6f42d780c1d7625b9d510847a6aff624?hp=bcd258b8ea3fa36748bc52b76a9bb28df97e0c2b>
- Log ----------------------------------------------------------------- commit 76a2b88f6f42d780c1d7625b9d510847a6aff624 Author: Jerry D. Hedden <[email protected]> Date: Thu Oct 21 14:47:50 2010 -0700 Fix ext/XS-APItest/t/multicall.t warning 'make test' produces the following warning: ext/XS-APItest/t/multicall.....................................Useless use of private variable in void context at t/multicall.t line 37. ok The attached patch fixes this by adding a "no warnings 'void';" statement to the test file. ----------------------------------------------------------------------- Summary of changes: ext/XS-APItest/t/multicall.t | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/ext/XS-APItest/t/multicall.t b/ext/XS-APItest/t/multicall.t index 69f7b77..983f5fd 100644 --- a/ext/XS-APItest/t/multicall.t +++ b/ext/XS-APItest/t/multicall.t @@ -34,6 +34,7 @@ use XS::APItest; my $closure_var; { my $f = sub { + no warnings 'void'; $closure_var; my $sub = shift; if (defined $sub) { -- Perl5 Master Repository
