In perl.git, the branch maint-5.20 has been updated <http://perl5.git.perl.org/perl.git/commitdiff/82fef98a04853fd3cb087046eda87946655c1dcf?hp=04dcc68d58eca8a2f846beeed00c3c493dc505bc>
- Log ----------------------------------------------------------------- commit 82fef98a04853fd3cb087046eda87946655c1dcf Author: Steve Hay <[email protected]> Date: Sat Jan 17 11:55:40 2015 +0000 Silence "Useless use ... in void context" warnings from commit 2ce04c5f4a Thanks to Craig A. Berry for spotting this. ----------------------------------------------------------------------- Summary of changes: t/op/time.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/op/time.t b/t/op/time.t index 440e4d7..5cb9191 100644 --- a/t/op/time.t +++ b/t/op/time.t @@ -241,8 +241,8 @@ SKIP: { #rt #73040 { local $^W; - gmtime("NaN"); + scalar gmtime("NaN"); pass('[perl #123495] gmtime(NaN) does not crash'); - localtime("NaN"); + scalar localtime("NaN"); pass('localtime(NaN) does not crash'); } -- Perl5 Master Repository
