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: nodejs#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 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.