dsound/tests: Make sure to use return values (LLVM/Clang).

This commit is contained in:
Austin English 2011-02-07 14:57:29 -08:00 committed by Alexandre Julliard
parent 19fea20963
commit 8c771e3f7e
1 changed files with 3 additions and 0 deletions

View File

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