From 00383ba6b4a7b02adaa8bed6cdf919afac009658 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 6 Dec 2023 06:34:29 -0700 Subject: sim: warnings: enable -Wunused-but-set-variable --- sim/m4/sim_ac_option_warnings.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sim/m4') diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4 index 52beee8..6e6add6 100644 --- a/sim/m4/sim_ac_option_warnings.m4 +++ b/sim/m4/sim_ac_option_warnings.m4 @@ -39,7 +39,7 @@ dnl NB: Kept somewhat in sync with gdbsupport/warnings.m4. build_warnings="-Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts --Wempty-body -Wunused-but-set-parameter +-Wempty-body -Wunused-but-set-parameter -Wunused-but-set-variable -Wno-sign-compare -Wno-error=maybe-uninitialized dnl C++ -Wno-mismatched-tags -Wno-error=deprecated-register -- cgit v1.1