From 9472a0cfadceed442753012d8d2d1ce1925c3589 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Sch=C3=A4r?= <jscissr@gmail.com> Date: Fri, 20 Nov 2015 20:23:25 +0100 Subject: [PATCH] net: small code cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `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 | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/net.js b/lib/net.js index d11fef84c2e1a9..e1d45ede23dcf1 100644 --- a/lib/net.js +++ b/lib/net.js @@ -1079,7 +1079,6 @@ function Server(options, connectionListener) { EventEmitter.call(this); var self = this; - var options; if (typeof options === 'function') { connectionListener = options;