Commit 8b305ccb authored by Austin English's avatar Austin English Committed by Alexandre Julliard

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

parent 3455c780
...@@ -55,10 +55,12 @@ static void test_propertystore(IPropertyStore *store) ...@@ -55,10 +55,12 @@ static void test_propertystore(IPropertyStore *store)
pv.vt = VT_EMPTY; pv.vt = VT_EMPTY;
hr = IPropertyStore_GetValue(store, (const PROPERTYKEY*)&DEVPKEY_DeviceInterface_Enabled, &pv); 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"); ok(pv.vt == VT_EMPTY, "Key should not be found\n");
pv.vt = VT_EMPTY; pv.vt = VT_EMPTY;
hr = IPropertyStore_GetValue(store, (const PROPERTYKEY*)&DEVPKEY_DeviceInterface_ClassGuid, &pv); 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"); ok(pv.vt == VT_EMPTY, "Key should not be found\n");
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment