On Fri, 13 Dec 2024, Crystal Wood wrote: > On Fri, 2024-12-13 at 00:24 +0800, ende.tan@xxxxxxxxxxxxxxxx wrote: > > From: Tan En De <ende.tan@xxxxxxxxxxxxxxxx> > > > > Mark unused parameters with `__attribute__((unused))`. > > > > Signed-off-by: Tan En De <ende.tan@xxxxxxxxxxxxxxxx> > > --- > > src/cyclictest/cyclictest.c | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > Can we just turn off this warning? Unused parameters are entirely > normal in functions used as callbacks as well as with ifdefs, and it > seems like a low value warning to begin with (there's a reason it's not > in -Wall). I believe it IS in -Wall https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html John