mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Fix all uninitialized variable warnings (C26495)
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user