mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
net: small code cleanup
`options` is already a param of the function. PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
f55491ad47
commit
a7367fdc1e
1 file changed
-1
@@ -1081,7 +1081,6 @@ function Server(options, connectionListener) {
|
||||
EventEmitter.call(this);
|
||||
|
||||
var self = this;
|
||||
var options;
|
||||
|
||||
if (typeof options === 'function') {
|
||||
connectionListener = options;
|
||||
|
||||
Reference in new issue
Block a user