Skip to content

Commit 12754c5

Browse files
jscissrrvagg
authored andcommitted
net: small code cleanup
`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]>
1 parent 13834ca commit 12754c5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/net.js

-1
Original file line numberDiff line numberDiff line change
@@ -1077,7 +1077,6 @@ function Server(options, connectionListener) {
10771077
EventEmitter.call(this);
10781078

10791079
var self = this;
1080-
var options;
10811080

10821081
if (typeof options === 'function') {
10831082
connectionListener = options;

0 commit comments

Comments
 (0)