diff options
| author | Nathaniel Cesario <nathaniel@lunarg.com> | 2025-10-01 10:28:14 -0600 |
|---|---|---|
| committer | ncesario-lunarg <71668273+ncesario-lunarg@users.noreply.github.com> | 2025-10-01 11:07:43 -0600 |
| commit | 5568ce14705e512113df5b459fc86d857b3d7789 (patch) | |
| tree | 9154069e59297271bf92b54e0a0b0417b6ff3f32 /cube/cube.cpp | |
| parent | d643b80d6ba8c191bc289fdda52867c3bb3c190b (diff) | |
| download | usermoji-5568ce14705e512113df5b459fc86d857b3d7789.tar.xz | |
cubepp: Fix uninitialized variables
Diffstat (limited to 'cube/cube.cpp')
| -rw-r--r-- | cube/cube.cpp | 2 |
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; |
