dsound/tests: Make sure to use return values (LLVM/Clang).
This commit is contained in:
parent
19fea20963
commit
8c771e3f7e
|
@ -648,7 +648,10 @@ static HRESULT test_secondary8(LPGUID lpGuid, int play,
|
|||
"IDirectSound8_CreateSoundBuffer(secondary) should have "
|
||||
"returned DSERR_INVALIDPARAM, returned %08x\n", rc);
|
||||
if (secondary)
|
||||
{
|
||||
ref=IDirectSoundBuffer_Release(secondary);
|
||||
ok(ref==0,"IDirectSoundBuffer_Release() primary has %d references, should have 0\n",ref);
|
||||
}
|
||||
init_format(&wfx,WAVE_FORMAT_PCM,22050,16,1);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue