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 Myles Borins committed Jan 19, 2016
1 parent f55491a commit a7367fd
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 a7367fd

Please sign in to comment.