Merge 1874ece864 into e9920f7ca1
This commit is contained in:
commit
988f937cfa
|
|
@ -1813,6 +1813,7 @@ merge(Compressor.prototype, {
|
|||
if (!compressor.option("keep_fargs")) {
|
||||
for (var a = node.argnames, i = a.length; --i >= 0;) {
|
||||
var sym = a[i];
|
||||
if (!sym) break;
|
||||
if (!(sym.definition().id in in_use_ids)) {
|
||||
a.pop();
|
||||
compressor.warn("Dropping unused function argument {name} [{file}:{line},{col}]", {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user