diff options
-rw-r--r-- | meson/suppressions/meson.build | 13 | ||||
-rw-r--r-- | src/jalv.c | 4 |
2 files changed, 4 insertions, 13 deletions
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 @@ -466,6 +466,10 @@ jalv_ui_instantiate(Jalv* jalv, const char* native_ui_type, void* parent) lilv_free(binary_path); lilv_free(bundle_path); +#else + (void)jalv; + (void)native_ui_type; + (void)parent; #endif } |