From 63b097aac4bf2c02bfcc6ca595dd152a6cf7c747 Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Sat, 16 Jun 2001 17:50:43 +0000 Subject: [PATCH] Initialization is nice. p4raw-id: //depot/perl@10635 --- lib/Test/Harness.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Test/Harness.pm b/lib/Test/Harness.pm index 5444a40..8966ca6 100644 --- a/lib/Test/Harness.pm +++ b/lib/Test/Harness.pm @@ -395,7 +395,7 @@ sub _run_all_tests { my @dir_files = _globdir $Files_In_Dir if defined $Files_In_Dir; my $t_start = new Benchmark; - my $maxlen; + my $maxlen = 0; foreach (@tests) { my $len = length; $maxlen = $len if $len > $maxlen; -- 2.7.4