From 0f43cfa225cefcce121c94bcde0de7a66bb63526 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Tue, 11 Apr 2017 20:01:19 +0300 Subject: test/interactive-wayland: fix uninitialized `ret` in error path Signed-off-by: Ran Benita --- test/interactive-wayland.c | 1 + 1 file changed, 1 insertion(+) 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; } -- cgit v1.2.1