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 jasnell committed Nov 20, 2015
1 parent dfee4e3 commit 9472a0c
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 @@ -1079,7 +1079,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 9472a0c

Please sign in to comment.