]> granicus.if.org Git - curl/commitdiff
runtests.pl: removed unused arguments to valgrindparse
authorDan Fandrich <dan@coneharvesters.com>
Sat, 27 May 2017 12:30:24 +0000 (14:30 +0200)
committerDan Fandrich <dan@coneharvesters.com>
Sat, 27 May 2017 12:30:24 +0000 (14:30 +0200)
tests/runtests.pl
tests/valgrind.pm

index 309b7085a922e4bd427373cea3268588f5e2f329..5eafdd5db25eb0645fe3c913b98f38778392da11 100755 (executable)
@@ -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";
index e6f66fd50795d542412ae156ebad32a5917ed311..8b3d717d4a5189a7c7648b64296e5b2a13f96049 100644 (file)
@@ -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 = <VAL>;