report correct warning suppression code

This commit is contained in:
NunoSempere 2023-12-09 18:09:08 +00:00
parent 2819815aa8
commit 693fac451f

View File

@ -284,7 +284,7 @@ In fact, squiggle.c does have a few functions for algebraic manipulations of sim
#### Harsh compilation
By default, I've enabled -Warn-all, -Warn-extra. However, these produce warnings for unused variables, some of which can sometimes be inocuous. For now, I'm suppressing these using a clever UNUSED macro. If you don't like that approach, you could add -Wno-unused-variable to your makefile and remove the macro.
By default, I've enabled -Warn-all, -Warn-extra. However, these produce warnings for unused variables, some of which can sometimes be inocuous. For now, I'm suppressing these using a clever UNUSED macro. If you don't like that approach, you could add -Wno-unused-parameter to your makefile and remove the macro.
#### Results of running clang-tidy