From f01ca10aa3700575bece4b872b135f2af61d186c Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Wed, 9 Jul 2025 21:57:21 +0200 Subject: [PATCH] runtests.pl: try fixing unitialized $allocs ``` Use of uninitialized value $allocs in numeric gt (>) at ../../tests/runtests.pl line 1729. ``` https://github.com/curl/curl/actions/runs/16178889943/job/45670573824?pr=17877#step:39:165 --- tests/runtests.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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+)/) {