Fixed uninitialized value.

This commit is contained in:
Armin Novak 2019-01-29 11:07:44 +01:00
parent 99c92308a3
commit f64db12a2e

View File

@ -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;