Skip to content

Commit

Permalink
net: small code cleanup
Browse files Browse the repository at this point in the history
`options` is already a param of the function.

PR-URL: #3943
Reviewed-By: Evan Lucas <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Myles Borins <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
jscissr authored and rvagg committed Dec 5, 2015
1 parent 13834ca commit 12754c5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/net.js
Original file line number Diff line number Diff line change
Expand Up @@ -1077,7 +1077,6 @@ function Server(options, connectionListener) {
EventEmitter.call(this);

var self = this;
var options;

if (typeof options === 'function') {
connectionListener = options;
Expand Down

0 comments on commit 12754c5

Please sign in to comment.