From: Dan Fandrich Date: Sat, 27 May 2017 12:30:24 +0000 (+0200) Subject: runtests.pl: removed unused arguments to valgrindparse X-Git-Tag: curl-7_54_1~79 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=14514c97968c1ad26b15e140083565e85a4d2b47;p=thirdparty%2Fcurl.git runtests.pl: removed unused arguments to valgrindparse --- diff --git a/tests/runtests.pl b/tests/runtests.pl index 309b7085a9..5eafdd5db2 100755 --- a/tests/runtests.pl +++ b/tests/runtests.pl @@ -4121,7 +4121,7 @@ sub singletest { $timevrfyend{$testnum} = Time::HiRes::time() if($timestats); return 1; } - my @e = valgrindparse($srcdir, $feature{'SSL'}, "$LOGDIR/$vgfile"); + my @e = valgrindparse("$LOGDIR/$vgfile"); if(@e && $e[0]) { if($automakestyle) { logmsg "FAIL: $testnum - $testname - valgrind\n"; diff --git a/tests/valgrind.pm b/tests/valgrind.pm index e6f66fd507..8b3d717d4a 100644 --- a/tests/valgrind.pm +++ b/tests/valgrind.pm @@ -23,9 +23,7 @@ use File::Basename; sub valgrindparse { - my ($srcdir, # the dir in which the runtests script resides - $sslenabled, - $file) = @_; + my ($file) = @_; my @o; open(VAL, "<$file"); @o = ;