diff options
author | Mike Frysinger <vapier@gentoo.org> | 2023-12-06 06:34:29 -0700 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2023-12-15 21:14:13 -0500 |
commit | 00383ba6b4a7b02adaa8bed6cdf919afac009658 (patch) | |
tree | f194f5ad7368d6b7d1535504dee552d4c9d04473 /sim/m4 | |
parent | 81a3befa0ac2ed1e7b2562c1a12d188623c5c3d1 (diff) | |
download | gdb-00383ba6b4a7b02adaa8bed6cdf919afac009658.zip gdb-00383ba6b4a7b02adaa8bed6cdf919afac009658.tar.gz gdb-00383ba6b4a7b02adaa8bed6cdf919afac009658.tar.bz2 |
sim: warnings: enable -Wunused-but-set-variable
Diffstat (limited to 'sim/m4')
-rw-r--r-- | sim/m4/sim_ac_option_warnings.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
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 |