mmdevapi/tests: Make sure return value is used (LLVM/Clang).
This commit is contained in:
parent
fd4ddca0dc
commit
f640a38696
|
@ -140,6 +140,7 @@ START_TEST(mmdevenum)
|
||||||
|
|
||||||
/* Proving that it is static.. */
|
/* Proving that it is static.. */
|
||||||
hr = CoCreateInstance(&CLSID_MMDeviceEnumerator, NULL, CLSCTX_INPROC_SERVER, &IID_IMMDeviceEnumerator, (void**)&mme2);
|
hr = CoCreateInstance(&CLSID_MMDeviceEnumerator, NULL, CLSCTX_INPROC_SERVER, &IID_IMMDeviceEnumerator, (void**)&mme2);
|
||||||
|
ok(hr == S_OK, "CoCreateInstance failed: 0x%08x\n", hr);
|
||||||
IUnknown_Release(mme2);
|
IUnknown_Release(mme2);
|
||||||
ok(mme == mme2, "Pointers are not equal!\n");
|
ok(mme == mme2, "Pointers are not equal!\n");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue