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

Austin English austinenglish at gmail.com
Fri Feb 4 18:01:15 CST 2011


-- 
-Austin
-------------- next part --------------
diff --git a/dlls/dinput/tests/joystick.c b/dlls/dinput/tests/joystick.c
index a60d6e2..194069d 100644
--- a/dlls/dinput/tests/joystick.c
+++ b/dlls/dinput/tests/joystick.c
@@ -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:


More information about the wine-patches mailing list