summaryrefslogtreecommitdiff
path: root/lib/async.js
diff options
context:
space:
mode:
authorGraeme Yeates <yeatesgraeme@gmail.com>2015-07-19 23:36:26 -0400
committerGraeme Yeates <yeatesgraeme@gmail.com>2015-07-19 23:36:26 -0400
commit1bcfa2a2d23e4d3082cc151c208083f3c2d560d8 (patch)
tree2838972ae33742421248e336f9386679a592767f /lib/async.js
parentf7edbd5afa0c4279d53095bbc4e9991bf519fa04 (diff)
downloadasync-1bcfa2a2d23e4d3082cc151c208083f3c2d560d8.tar.gz
Drop unused restParam caseunused-condition
Diffstat (limited to 'lib/async.js')
-rw-r--r--lib/async.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/async.js b/lib/async.js
index f3cfb80..f13639f 100644
--- a/lib/async.js
+++ b/lib/async.js
@@ -165,7 +165,6 @@
switch (startIndex) {
case 0: return func.call(this, rest);
case 1: return func.call(this, arguments[0], rest);
- case 2: return func.call(this, arguments[0], arguments[1], rest);
}
// Currently unused but handle cases outside of the switch statement:
// var args = Array(startIndex + 1);