Austin English : mmdevapi/tests: Make sure return values are used (LLVM/ Clang).
Module: wine Branch: master Commit: 8b305ccbd30472c2beee83f55b534cadf591bef9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=8b305ccbd30472c2beee83f55b... Author: Austin English <austinenglish(a)gmail.com> Date: Tue Feb 8 16:06:14 2011 -0800 mmdevapi/tests: Make sure return values are used (LLVM/Clang). --- dlls/mmdevapi/tests/propstore.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/dlls/mmdevapi/tests/propstore.c b/dlls/mmdevapi/tests/propstore.c index d0a0c86..a16dee1 100644 --- a/dlls/mmdevapi/tests/propstore.c +++ b/dlls/mmdevapi/tests/propstore.c @@ -55,10 +55,12 @@ static void test_propertystore(IPropertyStore *store) pv.vt = VT_EMPTY; hr = IPropertyStore_GetValue(store, (const PROPERTYKEY*)&DEVPKEY_DeviceInterface_Enabled, &pv); + ok(hr == S_OK, "Failed with %08x\n", hr); ok(pv.vt == VT_EMPTY, "Key should not be found\n"); pv.vt = VT_EMPTY; hr = IPropertyStore_GetValue(store, (const PROPERTYKEY*)&DEVPKEY_DeviceInterface_ClassGuid, &pv); + ok(hr == S_OK, "Failed with %08x\n", hr); ok(pv.vt == VT_EMPTY, "Key should not be found\n"); }
participants (1)
-
Alexandre Julliard