From 42fbed1ed74c75f0de1d0be6b48eaf41c657f192 Mon Sep 17 00:00:00 2001 From: yorkie Date: Sun, 11 Sep 2016 09:06:39 +0800 Subject: [PATCH] timers: remove unreachable code --- lib/timers.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/timers.js b/lib/timers.js index f6ecf3e100a81e..574fb810d61e02 100644 --- a/lib/timers.js +++ b/lib/timers.js @@ -333,7 +333,6 @@ exports.setTimeout = function(callback, after) { var ontimeout = callback; switch (length) { // fast cases - case 0: case 1: case 2: break; @@ -392,7 +391,6 @@ exports.setInterval = function(callback, repeat) { var length = arguments.length; var ontimeout = callback; switch (length) { - case 0: case 1: case 2: break; @@ -605,7 +603,6 @@ exports.setImmediate = function(callback, arg1, arg2, arg3) { switch (arguments.length) { // fast cases - case 0: case 1: break; case 2: