From acb75fa0dfc17692a8824841161bb508a23bab91 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 29 Sep 2024 19:15:26 -0400 Subject: Enable unused parameter warnings These were fixed earlier (and the clang-tidy warning enabled), but the compiler flags were't strengthened. --- meson/suppressions/meson.build | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'meson') diff --git a/meson/suppressions/meson.build b/meson/suppressions/meson.build index bce2c5f..e273a6c 100644 --- a/meson/suppressions/meson.build +++ b/meson/suppressions/meson.build @@ -51,12 +51,6 @@ if is_variable('cc') ] endif - if warning_level in ['everything', '3', '2'] - c_suppressions += [ - '-Wno-unused-parameter', - ] - endif - if host_machine.system() == 'darwin' c_suppressions += [ '-Wno-documentation', # JACK @@ -92,18 +86,11 @@ if is_variable('cc') ] endif - if warning_level in ['everything', '3', '2'] - c_suppressions += [ - '-Wno-unused-parameter', - ] - endif - elif cc.get_id() == 'msvc' if warning_level == 'everything' c_suppressions += [ '/wd4061', # enumerator in switch is not explicitly handled '/wd4090', # different const qualifiers - '/wd4100', # unreferenced formal parameter '/wd4191', # unsafe function conversion '/wd4200', # zero-sized array in struct/union '/wd4242', # possible loss of data from float conversion -- cgit v1.2.1