remove unused function argument

This commit is contained in:
Ondrej Kraus 2015-02-25 15:38:32 +01:00
parent e6855b974b
commit 687b0f3180

View File

@ -50,7 +50,7 @@ var hasRest = function (node) {
return t.isRestElement(node.params[node.params.length - 1]);
};
exports.Function = function (node, parent, scope, file) {
exports.Function = function (node, parent, scope) {
if (!hasRest(node)) return;
var rest = node.params.pop().argument;