mmdevapi/tests: Make sure return value is used (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-07 14:57:59 -08:00 committed by Alexandre Julliard
parent fd4ddca0dc
commit f640a38696
1 changed files with 1 additions and 0 deletions

View File

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