Commit d6d749f4 authored by Austin English's avatar Austin English Committed by Alexandre Julliard

dinput/tests: Make sure to use return value (LLVM/Clang).

parent 453405e2
......@@ -489,6 +489,7 @@ static BOOL CALLBACK EnumJoysticks(
hr = IDirectInputDevice_Acquire(pJoystick);
ok(hr==DI_OK,"IDirectInputDevice_Acquire() failed: %08x\n", hr);
hr = IDirectInputDevice2_GetProperty(pJoystick, DIPROP_AUTOCENTER, &diprop_word.diph);
ok(hr==DI_OK,"IDirectInputDevice2_GetProperty() failed: %08x\n", hr);
/* Device gain (DIPROP_FFGAIN).
* From MSDN:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment