From 693fac451f7dd6739184aec41894eb5ac01a93b0 Mon Sep 17 00:00:00 2001 From: NunoSempere Date: Sat, 9 Dec 2023 18:09:08 +0000 Subject: [PATCH] report correct warning suppression code --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index fdb6d2b..ac8755d 100644 --- 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