mmdevapi/tests: Make sure return values are used (LLVM/Clang).
This commit is contained in:
parent
3455c78042
commit
8b305ccbd3
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue