Fix all uninitialized variable warnings (C26495)

This commit is contained in:
Pokechu22 committed 2021-10-13 12:32:16 -07:00
1 parent 525e6b2194
commit 78bfd25964
111 files changed
+638 -651

No files matched your search

@@ -22,10 +22,10 @@ class KeyboardMouse : public Core::Device
private:
struct State
{
BYTE keyboard[256];
BYTE keyboard[256]{};
// Old smoothed relative mouse movement.
DIMOUSESTATE2 mouse;
DIMOUSESTATE2 mouse{};
// Normalized mouse cursor position.
Common::TVec2<ControlState> cursor;