commit 693fac451f7dd6739184aec41894eb5ac01a93b0
parent 2819815aa836b93dd4fb8473eba0dfc7d42b0b48
Author: NunoSempere <nuno.sempere@protonmail.com>
Date: Sat, 9 Dec 2023 18:09:08 +0000
report correct warning suppression code
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -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