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

Alexandre Julliard julliard at winehq.org
Mon Feb 7 16:06:36 CST 2011


Module: wine
Branch: master
Commit: d6d749f4d755a3dae162a34dd951d6f1f8c1903a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d6d749f4d755a3dae162a34dd951d6f1f8c1903a

Author: Austin English <austinenglish at gmail.com>
Date:   Fri Feb  4 16:01:15 2011 -0800

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

---

 dlls/dinput/tests/joystick.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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-cvs mailing list