From 859ccd78b56dda4a3952e35a0a414db44fe126cf Mon Sep 17 00:00:00 2001 From: Matthew Alsup Date: Thu, 27 Jul 2017 19:52:39 -0500 Subject: benchmark: remove unused parameters MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Functions completeConfig, completeRun, and updateProgress had unused parameters. These were removed. PR-URL: https://github.com/nodejs/node/pull/14526 Reviewed-By: Rich Trott Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Timothy Gu Reviewed-By: Evan Lucas Reviewed-By: Tobias Nießen Reviewed-By: James M Snell --- benchmark/_benchmark_progress.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'benchmark/_benchmark_progress.js') diff --git a/benchmark/_benchmark_progress.js b/benchmark/_benchmark_progress.js index 0c5cc10bf8..ffb2dfdf65 100644 --- a/benchmark/_benchmark_progress.js +++ b/benchmark/_benchmark_progress.js @@ -65,12 +65,12 @@ class BenchmarkProgress { this.updateProgress(); } - completeConfig(data) { + completeConfig() { this.completedConfig++; this.updateProgress(); } - completeRun(job) { + completeRun() { this.completedRuns++; this.updateProgress(); } @@ -108,7 +108,7 @@ class BenchmarkProgress { `${caption} `; } - updateProgress(finished) { + updateProgress() { if (!process.stderr.isTTY || process.stdout.isTTY) { return; } -- cgit v1.2.3