From 119a36c04b4b06c4a67543f8f8397aed1d556aea Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 14 Dec 2020 16:14:59 +0100 Subject: Fix unused parameter warnings --- src/jalv_console.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/jalv_console.c') diff --git a/src/jalv_console.c b/src/jalv_console.c index d000826..2d6ea84 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -25,6 +25,7 @@ #include "lilv/lilv.h" #include "lv2/ui/ui.h" #include "suil/suil.h" +#include "zix/common.h" #include "zix/sem.h" #include @@ -152,10 +153,10 @@ jalv_print_controls(Jalv* jalv, bool writable, bool readable) } static int -jalv_print_preset(Jalv* jalv, +jalv_print_preset(Jalv* ZIX_UNUSED(jalv), const LilvNode* node, const LilvNode* title, - void* data) + void* ZIX_UNUSED(data)) { printf("%s (%s)\n", lilv_node_as_string(node), lilv_node_as_string(title)); return 0; @@ -260,7 +261,7 @@ jalv_run_custom_ui(Jalv* jalv) } float -jalv_ui_refresh_rate(Jalv* jalv) +jalv_ui_refresh_rate(Jalv* ZIX_UNUSED(jalv)) { return 30.0f; } -- cgit v1.2.1