dinput/tests: Avoid assigning values twice (PVS-Studio)

André Hentschel nerv at dawncrow.de
Thu Mar 19 16:11:31 CDT 2015


---
 dlls/dinput/tests/joystick.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/dlls/dinput/tests/joystick.c b/dlls/dinput/tests/joystick.c
index e5bb4eb..b196ea7 100644
--- a/dlls/dinput/tests/joystick.c
+++ b/dlls/dinput/tests/joystick.c
@@ -535,7 +535,6 @@ static BOOL CALLBACK EnumJoysticks(const DIDEVICEINSTANCEA *lpddi, void *pvRef)
             dip_gain_set.diph.dwHeaderSize = sizeof(DIPROPHEADER);
             dip_gain_set.diph.dwObj        = 0;
             dip_gain_set.diph.dwHow        = DIPH_DEVICE;
-            dip_gain_set.dwData            = 10000;
             dip_gain_get.diph.dwSize       = sizeof(DIPROPDWORD);
             dip_gain_get.diph.dwHeaderSize = sizeof(DIPROPHEADER);
             dip_gain_get.diph.dwObj        = 0;
-- 
1.9.1





More information about the wine-patches mailing list