mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-10 12:56:20 +02:00
Fix all uninitialized variable warnings (C26495)
This commit is contained in:
1 parent
525e6b2194
commit
78bfd25964
111 files changed
+638
-651
No files matched your search
@@ -177,9 +177,6 @@ Joystick::Joystick(const LPDIRECTINPUTDEVICE8 device) : m_device(device)
|
||||
InitForceFeedback(m_device, num_ff_axes);
|
||||
}
|
||||
|
||||
// Zero inputs:
|
||||
m_state_in = {};
|
||||
|
||||
// Set hats to center:
|
||||
// "The center position is normally reported as -1" -MSDN
|
||||
std::fill(std::begin(m_state_in.rgdwPOV), std::end(m_state_in.rgdwPOV), -1);
|
||||
|
||||
Reference in new issue
Block a user