From f64db12a2ed6564d41611c68c8457d9cd30f98f1 Mon Sep 17 00:00:00 2001 From: Armin Novak Date: Tue, 29 Jan 2019 11:07:44 +0100 Subject: [PATCH] Fixed uninitialized value. --- uwac/libuwac/uwac-input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uwac/libuwac/uwac-input.c b/uwac/libuwac/uwac-input.c index bd6a74bc3..17e1ffa99 100644 --- a/uwac/libuwac/uwac-input.c +++ b/uwac/libuwac/uwac-input.c @@ -82,7 +82,7 @@ error_mmap: static UwacReturnCode set_cursor_image(UwacSeat* seat, uint32_t serial) { - struct wl_buffer* buffer; + struct wl_buffer* buffer = NULL; struct wl_cursor* cursor; struct wl_cursor_image* image; struct wl_surface* surface = NULL;