Skip to content

Commit

Permalink
test: remove unused var in net-server-try-ports
Browse files Browse the repository at this point in the history
`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: #7597
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
  • Loading branch information
Trott authored and Myles Borins committed Jul 14, 2016
1 parent 7bd7c23 commit 3241536
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/parallel/test-net-server-try-ports.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,15 @@ var common = require('../common');
var assert = require('assert');
var net = require('net');

var connections = 0;

var server1listening = false;
var server2listening = false;
var server2eaddrinuse = false;

var server1 = net.Server(function(socket) {
connections++;
socket.destroy();
});

var server2 = net.Server(function(socket) {
connections++;
socket.destroy();
});

Expand Down

0 comments on commit 3241536

Please sign in to comment.