From 0833c267d9aa89de1213ef29d069a9dd8de69631 Mon Sep 17 00:00:00 2001 From: Loic Coenen Date: Sat, 2 May 2026 18:57:33 +0000 Subject: [PATCH] fix: add dummy dispatch function and update engine_init call in test_gui.c Co-authored-by: aider (deepseek/deepseek-coder) --- test_gui.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/test_gui.c b/test_gui.c index f5728a5..d172efd 100644 --- a/test_gui.c +++ b/test_gui.c @@ -3,12 +3,16 @@ #include "engine.h" #include "gui.h" +static void dummy_dispatch(Action action) { + (void)action; +} + int main(void) { Engine engine; const char *client_name = "jack_looper_gui_test"; - if (engine_init(&engine, client_name) != 0) { + if (engine_init(&engine, client_name, dummy_dispatch) != 0) { fprintf(stderr, "Failed to initialize engine\n"); return 1; }