mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
77afeb2ec7
commit
e1aedbf671
5 files changed
-12
No files matched your search
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user