Skip to content

Commit c08c91e

Browse files
ncesario-lunargjohnzupin
authored andcommitted
cubepp: Fix uninitialized variables
1 parent d643b80 commit c08c91e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cube/cube.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ struct Demo {
442442
wl_seat *seat = nullptr;
443443
wl_pointer *pointer = nullptr;
444444
wl_keyboard *keyboard = nullptr;
445-
int pending_width, pending_height;
445+
int pending_width = 0, pending_height = 0;
446446
#endif
447447
#if defined(VK_USE_PLATFORM_DIRECTFB_EXT)
448448
IDirectFB *dfb = nullptr;

0 commit comments

Comments
 (0)