dinput/tests: Avoid assigning values twice (PVS-Studio).
This commit is contained in:
parent
e0121ad32a
commit
765abb771f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue