From 78bfd25964206a1f0a34170fdd90ca1a8ce242db Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 3 Sep 2021 21:43:19 -0700 Subject: Fix all uninitialized variable warnings (C26495) --- Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp') diff --git a/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp b/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp index 5a6c6c221e..e7a8bea6fe 100644 --- a/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp +++ b/Source/Core/InputCommon/ControllerInterface/DInput/DInputJoystick.cpp @@ -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); -- cgit v1.2.3