Impact:Unknown 'null' severity
Likelihood:Unknown 'null' severity
Default Quality Profiles:Override none
When writing function callbacks, some arguments might be required as part of the function signature, but not actually needed by the callback code. For instance, JQuery has the 'each' helper to iterate over arrays or objects, but using the counter 'i' should remain optional:
So only unused arguments listed at the end of the argument list will be flagged with issues because they could be omitted from the function signature. Unused arguments which are followed by an argument that is used will be ignored.
Further, when arguments is used in the function body, no parameter is reported as unused.