From 5568ce14705e512113df5b459fc86d857b3d7789 Mon Sep 17 00:00:00 2001 From: Nathaniel Cesario Date: Wed, 1 Oct 2025 10:28:14 -0600 Subject: cubepp: Fix uninitialized variables --- cube/cube.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cube/cube.cpp') diff --git a/cube/cube.cpp b/cube/cube.cpp index 04ba3150..de411cfa 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; -- cgit v1.2.3