Austin English : mmdevapi/tests: Make sure return values are used (LLVM/ Clang).

Alexandre Julliard julliard at winehq.org
Wed Feb 9 15:30:13 CST 2011


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

Author: Austin English <austinenglish at 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");
 }
 




More information about the wine-cvs mailing list