https://bugs.kde.org/show_bug.cgi?id=420426
Bug ID: 420426 Summary: Check and fixup for unused parameters Product: clazy Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: wishlist Priority: NOR Component: general Assignee: unassigned-b...@kde.org Reporter: an...@familiesomers.nl CC: smart...@kde.org Target Milestone: --- There is a check for "non-trivial" unused parameters. I would like to propose a check and a fixup for all unused parameters. Use case: We had a project in which we have a mock object mocking a wide API, with lots of methods and lots of arguments for each of these. Most methods are unimplemented, but they sprayed the compile output with warnings. I commented out all the offending argument names, but it would have been nice to be able to quickly apply a fixup to them instead. Fixup could be either the commenting out, or perhaps inserting a Q_UNUSED(<parameter name>) at the top of the implementation. -- You are receiving this mail because: You are watching all bug changes.