From 2bd89421d5e8d77cd52380161b29a9b64024db2b Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Thu, 7 Jul 2016 15:02:05 -0700 Subject: [PATCH] test: remove unused var in test-tls-server-verify `connections` is assigned but never used. Remove it. (This was missed by the linter in previous versions of ESLint but is flagged by the current version. Updating the linter is contingent on this change or some similar remedy landing.) PR-URL: https://github.com/nodejs/node/pull/7595 Reviewed-By: Colin Ihrig --- test/parallel/test-tls-server-verify.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/parallel/test-tls-server-verify.js b/test/parallel/test-tls-server-verify.js index 45b4579bbb5151..a51aef51564690 100644 --- a/test/parallel/test-tls-server-verify.js +++ b/test/parallel/test-tls-server-verify.js @@ -256,8 +256,6 @@ function runTest(port, testIndex) { rejectUnauthorized: tcase.rejectUnauthorized }; - var connections = 0; - /* * If renegotiating - session might be resumed and openssl won't request * client's certificate (probably because of bug in the openssl) @@ -292,7 +290,6 @@ function runTest(port, testIndex) { return; } - connections++; if (c.authorized) { console.error(prefix + '- authed connection: ' + c.getPeerCertificate().subject.CN);