diff options
author | David Robillard <d@drobilla.net> | 2020-07-15 20:00:37 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-17 17:13:30 +0200 |
commit | 07eb022d816bcefdc46f11e608e4a79de164eeb0 (patch) | |
tree | 6bb285a0f60359d29fbf2ab4238db75b5f1b02d0 /src/x11_in_gtk3.c | |
parent | ad74225162512882afdceb3b3912473340f550eb (diff) | |
download | suil-07eb022d816bcefdc46f11e608e4a79de164eeb0.tar.gz suil-07eb022d816bcefdc46f11e608e4a79de164eeb0.tar.bz2 suil-07eb022d816bcefdc46f11e608e4a79de164eeb0.zip |
Fix Wunused-parameter warnings
Diffstat (limited to 'src/x11_in_gtk3.c')
-rw-r--r-- | src/x11_in_gtk3.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/x11_in_gtk3.c b/src/x11_in_gtk3.c index 7faab02..6ec1994 100644 --- a/src/x11_in_gtk3.c +++ b/src/x11_in_gtk3.c @@ -85,6 +85,8 @@ x_window_is_valid(SuilX11Wrapper* socket) static gboolean on_plug_removed(GtkSocket* sock, gpointer data) { + (void)data; + SuilX11Wrapper* const self = SUIL_X11_WRAPPER(sock); if (self->idle_id) { @@ -431,6 +433,10 @@ suil_wrapper_new(SuilHost* host, LV2_Feature*** features, unsigned n_features) { + (void)host; + (void)host_type_uri; + (void)ui_type_uri; + SuilWrapper* wrapper = (SuilWrapper*)calloc(1, sizeof(SuilWrapper)); wrapper->wrap = wrapper_wrap; wrapper->free = wrapper_free; |