projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f55491a
)
net: small code cleanup
author
Jan Schär
<jscissr@gmail.com>
Fri, 20 Nov 2015 19:23:25 +0000
(20:23 +0100)
committer
Myles Borins
<mborins@us.ibm.com>
Tue, 19 Jan 2016 19:52:15 +0000
(11:52 -0800)
`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>
lib/net.js
patch
|
blob
|
history
diff --git
a/lib/net.js
b/lib/net.js
index
58c9a3b
..
f778043
100644
(file)
--- a/
lib/net.js
+++ b/
lib/net.js
@@
-1081,7
+1081,6
@@
function Server(options, connectionListener) {
EventEmitter.call(this);
var self = this;
- var options;
if (typeof options === 'function') {
connectionListener = options;