dinput8/tests: make sure to use return value (LLVM/Clang)
Austin English
austinenglish at gmail.com
Mon Jul 25 19:23:29 CDT 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/dinput8/tests/device.c b/dlls/dinput8/tests/device.c
index 31e2e3f..363a34e 100644
--- a/dlls/dinput8/tests/device.c
+++ b/dlls/dinput8/tests/device.c
@@ -81,6 +81,7 @@ static void test_device_input(
IDirectInputDevice8_Poll(lpdid);
hr = IDirectInputDevice8_GetDeviceData(lpdid, sizeof(obj_data), &obj_data, &data_size, 0);
+ ok (SUCCEEDED(hr), "IDirectInputDevice8_GetDeviceData failed, hr=%08x\n", hr);
if (data_size != 1)
{
More information about the wine-patches
mailing list