diff --git a/cube/cube.cpp b/cube/cube.cpp index 04ba31501..de411cfa9 100644 --- a/cube/cube.cpp +++ b/cube/cube.cpp @@ -442,7 +442,7 @@ struct Demo { wl_seat *seat = nullptr; wl_pointer *pointer = nullptr; wl_keyboard *keyboard = nullptr; - int pending_width, pending_height; + int pending_width = 0, pending_height = 0; #endif #if defined(VK_USE_PLATFORM_DIRECTFB_EXT) IDirectFB *dfb = nullptr;