test/interactive-wayland: fix uninitialized `ret` in error path Signed-off-by: Ran Benita <ran234@gmail.com>
diff --git a/test/interactive-wayland.c b/test/interactive-wayland.c
index 7686854..c86ed60 100644
--- a/test/interactive-wayland.c
+++ b/test/interactive-wayland.c
@@ -685,6 +685,7 @@ main(int argc, char *argv[])
(inter.shell) ? "" : "xdg_shell ",
(inter.shm) ? "" : "wl_shm",
(inter.compositor) ? "" : "wl_compositor");
+ ret = -1;
goto err_conn;
}