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

oldstable
Austin English 2011-02-08 16:06:14 -08:00 committed by Alexandre Julliard
parent 3455c78042
commit 8b305ccbd3
1 changed files with 2 additions and 0 deletions

View File

@ -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");
}