From 1ec4f8dc3dec84f136393784113a8445b23e26bc Mon Sep 17 00:00:00 2001 From: ZYSzys <17367077526@163.com> Date: Sat, 1 Dec 2018 23:35:39 +0800 Subject: [PATCH] lib: remove duplicated noop function PR-URL: https://github.com/nodejs/node/pull/24770 Reviewed-By: Anna Henningsen Reviewed-By: Colin Ihrig Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater Reviewed-By: Weijia Wang --- lib/internal/bootstrap/node.js | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index 67093089f7af08..1a417658d5de05 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -201,7 +201,6 @@ // so these are now deprecated non-ops that can be removed after one // major release cycle. if (process.platform === 'win32') { - function noop() {} const names = [ 'NET_SERVER_CONNECTION', 'NET_SERVER_CONNECTION_CLOSE',