aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-24 19:20:13 -0500
committerDavid Robillard <d@drobilla.net>2024-11-24 20:42:51 -0500
commit58f8902bad955d31465335329836cc8b40a40bc1 (patch)
tree6c9b5b21a129e0fa3db9cc09c2792365c695ab05 /src
parent7a03d6bacbec2ac275673314c8a274d5208943b3 (diff)
downloadjalv-58f8902bad955d31465335329836cc8b40a40bc1.tar.gz
jalv-58f8902bad955d31465335329836cc8b40a40bc1.tar.bz2
jalv-58f8902bad955d31465335329836cc8b40a40bc1.zip
Fix unused parameter warning in release builds without suil
Diffstat (limited to 'src')
-rw-r--r--src/jalv_console.c2
1 files changed, 2 insertions, 0 deletions
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) {