From e9d44aaf8285901f2f95daf7eba7d08f72cdcc53 Mon Sep 17 00:00:00 2001 From: Timo Wischer Date: Tue, 24 Oct 2017 13:10:28 +0200 Subject: Fix unused parameter warnings Signed-off-by: Timo Wischer --- src/jalv.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/jalv.c') diff --git a/src/jalv.c b/src/jalv.c index 14d791c..732cea2 100644 --- a/src/jalv.c +++ b/src/jalv.c @@ -723,7 +723,7 @@ jalv_apply_control_arg(Jalv* jalv, const char* s) } static void -signal_handler(int ignored) +signal_handler(ZIX_UNUSED int sig) { zix_sem_post(&exit_sem); } @@ -975,7 +975,7 @@ main(int argc, char** argv) } /* Get a plugin UI */ - const char* native_ui_type_uri = jalv_native_ui_type(&jalv); + const char* native_ui_type_uri = jalv_native_ui_type(); jalv.uis = lilv_plugin_get_uis(jalv.plugin); if (!jalv.opts.generic_ui && native_ui_type_uri) { #ifdef HAVE_SUIL -- cgit v1.2.1