From 58f8902bad955d31465335329836cc8b40a40bc1 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 24 Nov 2024 19:20:13 -0500 Subject: Fix unused parameter warning in release builds without suil --- src/jalv_console.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/jalv_console.c b/src/jalv_console.c index 1a700fc..1f97572 100644 --- a/src/jalv_console.c +++ b/src/jalv_console.c @@ -96,6 +96,8 @@ jalv_frontend_port_event(Jalv* jalv, suil_instance_port_event( jalv->ui_instance, port_index, buffer_size, protocol, buffer); } +#else + (void)buffer_size; #endif if (!protocol && jalv->opts.print_controls) { -- cgit v1.2.1