aboutsummaryrefslogtreecommitdiff
path: root/cube/cube.cpp
diff options
context:
space:
mode:
authorNathaniel Cesario <nathaniel@lunarg.com>2025-10-01 10:28:14 -0600
committerncesario-lunarg <71668273+ncesario-lunarg@users.noreply.github.com>2025-10-01 11:07:43 -0600
commit5568ce14705e512113df5b459fc86d857b3d7789 (patch)
tree9154069e59297271bf92b54e0a0b0417b6ff3f32 /cube/cube.cpp
parentd643b80d6ba8c191bc289fdda52867c3bb3c190b (diff)
downloadusermoji-5568ce14705e512113df5b459fc86d857b3d7789.tar.xz
cubepp: Fix uninitialized variables
Diffstat (limited to 'cube/cube.cpp')
-rw-r--r--cube/cube.cpp2
1 files changed, 1 insertions, 1 deletions
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;