From 87a58beed790b8b401354677b065c8d234a40d86 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 Backport-PR-URL: https://github.com/nodejs/node/pull/25446 --- 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 cdc1f06010acfd..414cbec733d229 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -200,7 +200,6 @@ function startup() { // 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',