aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meson/suppressions/meson.build13
-rw-r--r--src/jalv.c4
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
diff --git a/src/jalv.c b/src/jalv.c
index 81b7dcc..faa002b 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -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
}