Commit 0f43cfa225cefcce121c94bcde0de7a66bb63526

Ran Benita 2017-04-11T20:01:19

test/interactive-wayland: fix uninitialized `ret` in error path Signed-off-by: Ran Benita <ran234@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
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;
 	}