Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
net: small code cleanup
`options` is already a param of the function.
  • Loading branch information
jscissr committed Nov 20, 2015
commit f8124d13c3108b40827f6a42c4ed057b84f7321c
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