diff --git a/tests/runtests.pl b/tests/runtests.pl index 491eb1f2b7..4c8a8d7839 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -1722,7 +1722,7 @@ sub singletest_check { $ok .= "m"; } my @more=`$memanalyze -v "$logdir/$MEMDUMP"`; - my $allocs; + my $allocs = 0; my $max = 0; for(@more) { if(/^Allocations: (\d+)/) {