diff options
author | Graeme Yeates <yeatesgraeme@gmail.com> | 2015-07-20 01:01:01 -0400 |
---|---|---|
committer | Graeme Yeates <yeatesgraeme@gmail.com> | 2015-07-20 01:01:01 -0400 |
commit | 2d00945606341facc1731723310fe32f6cfbc502 (patch) | |
tree | 22f7abe5f368415232fa86369df95aeaa56cef28 | |
parent | 130d395ae38a1b780b58aabe91eb473392074aef (diff) | |
parent | 1bcfa2a2d23e4d3082cc151c208083f3c2d560d8 (diff) | |
download | async-2d00945606341facc1731723310fe32f6cfbc502.tar.gz |
Merge pull request #854 from caolan/unused-condition
Drop unused restParam case
-rw-r--r-- | lib/async.js | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/async.js b/lib/async.js index f88f1cd..f80dbcf 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); |