From b8a59f230b915284c961d68e94b259a770c896e3 Mon Sep 17 00:00:00 2001 From: Marius Halden Date: Sat, 14 Feb 2015 07:34:32 +0100 Subject: Initialize some vars to undef --- stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stats.pl b/stats.pl index bfffe07..20fee9c 100755 --- a/stats.pl +++ b/stats.pl @@ -44,7 +44,7 @@ my @content = split /^-+$/m, $content; shift @content; for my $section (@content) { - my ($position, $user, $balance, $endpoint, $time_up, $time_maint, $time_down); + my ($position, $user, $balance, $endpoint, $time_up, $time_maint, $time_down) = (undef); for my $line (split /\n/, $section) { next if (length $line < 1); -- cgit v1.2.3