This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Remove an unused variable
authorTom Hukins <tom@eborcom.com>
Wed, 17 Feb 2016 15:04:10 +0000 (15:04 +0000)
committerJames E Keenan <jkeenan@cpan.org>
Thu, 18 Feb 2016 12:41:00 +0000 (07:41 -0500)
Other Time::HiRes test scripts define and use $limit to cope with timing
on heavily loaded systems.

This test script defined the variable but never used it.

dist/Time-HiRes/t/stat.t

index eca9da1..68a6fb6 100644 (file)
@@ -16,8 +16,6 @@ BEGIN {
 use Test::More 0.82 tests => 43;
 use t::Watchdog;
 
-my $limit = 0.25; # 25% is acceptable slosh for testing timers
-
 my @atime;
 my @mtime;
 for (1..5) {