dinput/tests: Make sure to use return value (LLVM/Clang).
This commit is contained in:
parent
453405e2b4
commit
d6d749f4d7
|
@ -489,6 +489,7 @@ static BOOL CALLBACK EnumJoysticks(
|
||||||
hr = IDirectInputDevice_Acquire(pJoystick);
|
hr = IDirectInputDevice_Acquire(pJoystick);
|
||||||
ok(hr==DI_OK,"IDirectInputDevice_Acquire() failed: %08x\n", hr);
|
ok(hr==DI_OK,"IDirectInputDevice_Acquire() failed: %08x\n", hr);
|
||||||
hr = IDirectInputDevice2_GetProperty(pJoystick, DIPROP_AUTOCENTER, &diprop_word.diph);
|
hr = IDirectInputDevice2_GetProperty(pJoystick, DIPROP_AUTOCENTER, &diprop_word.diph);
|
||||||
|
ok(hr==DI_OK,"IDirectInputDevice2_GetProperty() failed: %08x\n", hr);
|
||||||
|
|
||||||
/* Device gain (DIPROP_FFGAIN).
|
/* Device gain (DIPROP_FFGAIN).
|
||||||
* From MSDN:
|
* From MSDN:
|
||||||
|
|
Loading…
Reference in New Issue