News for hackers. Stuff that matters.
Re:Everybody makes mistakes when writing comparison functions by Someone on Thursday September 09, 2021 @10:11AM (#28469889)
Reading https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html, which says

“In order to get a warning about an unused function parameter, you must either specify -Wextra -Wunused (note that -Wall implies -Wunused), or separately specify -Wunused-parameter.”

So, it seems one can do

  -Wunused-parameter

There are no comments on this comment yet.