test: remove unused vars from http/https tests

Remove handful of variables that are assigned but never used.

(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/7598
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
This commit is contained in:
Rich Trott authored and Evan Lucas committed 2016-07-15 08:09:42 -05:00
1 parent 77afeb2ec7
commit e1aedbf671
5 files changed
-12

No files matched your search

-2
View File
@@ -24,7 +24,6 @@ var options = {
requestCert: true
};
var reqCount = 0;
var CRLF = '\r\n';
var body = 'hello world\n';
var cert;
@@ -33,7 +32,6 @@ var modulus;
var exponent;
var server = https.createServer(options, function(req, res) {
reqCount++;
console.log('got request');
cert = req.connection.getPeerCertificate();