From 002b1c04f036dc7d958e1e5f8e1dfdf7953f2830 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 12 Mar 2022 19:41:12 -0500 Subject: Fix unused parameter warnings --- src/cocoa_in_gtk2.mm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') diff --git a/src/cocoa_in_gtk2.mm b/src/cocoa_in_gtk2.mm index 0bf9fe7..a47cc8b 100644 --- a/src/cocoa_in_gtk2.mm +++ b/src/cocoa_in_gtk2.mm @@ -286,6 +286,8 @@ suil_cocoa_wrapper_idle(void* data) static GdkFilterReturn event_filter(GdkXEvent* xevent, GdkEvent* event, gpointer data) { + (void)event; + SuilCocoaWrapper* wrap = (SuilCocoaWrapper*)data; if (!wrap->instance || !wrap->wrapper || !wrap->wrapper->impl) { return GDK_FILTER_CONTINUE; @@ -382,6 +384,9 @@ suil_wrapper_new(SuilHost* host, LV2_Feature*** features, unsigned n_features) { + (void)host; + (void)host_type_uri; + GtkWidget* parent = NULL; for (unsigned i = 0; i < n_features; ++i) { if (!strcmp((*features)[i]->URI, LV2_UI__parent)) { -- cgit v1.2.1