From 14514c97968c1ad26b15e140083565e85a4d2b47 Mon Sep 17 00:00:00 2001 From: Dan Fandrich Date: Sat, 27 May 2017 14:30:24 +0200 Subject: runtests.pl: removed unused arguments to valgrindparse --- tests/runtests.pl | 2 +- tests/valgrind.pm | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/runtests.pl b/tests/runtests.pl index 309b7085a..5eafdd5db 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 e6f66fd50..8b3d717d4 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 = ; -- cgit v1.2.1