compositor-introspection-test: fix build warning
authorJunseok, Kim <juns.kim@samsung.com>
Tue, 19 May 2020 07:24:26 +0000 (16:24 +0900)
committerJunkyeong Kim <jk0430.kim@samsung.com>
Thu, 16 Feb 2023 10:11:12 +0000 (19:11 +0900)
Change-Id: I0e4cf18dcb7b2775aa915bfb207b548cc6e033c5
Signed-off-by: Junseok, Kim <juns.kim@samsung.com>
tests/compositor-introspection-test.c

index 064d253..9924f35 100644 (file)
@@ -62,7 +62,7 @@ static void
 check_client_list(struct compositor *compositor)
 {
        struct wl_list *client_list;
-       struct wl_client *client, *client_it;
+       struct wl_client *client = NULL, *client_it;
        int num_clients = 0;
 
        client_list = wl_display_get_client_list(compositor->display);