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 <evanlucas@me.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Myles Borins <myles.borins@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
jscissr authored and Myles Borins committed Dec 29, 2015
1 parent 14c6f84 commit 80d8529
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 @@ -1081,7 +1081,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 80d8529

Please sign in to comment.