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 targos committed Jul 8, 2016
1 parent c8eb62f commit 24ee0d2
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 @@ 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 24ee0d2

Please sign in to comment.