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

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

parent 19fea209
...@@ -648,7 +648,10 @@ static HRESULT test_secondary8(LPGUID lpGuid, int play, ...@@ -648,7 +648,10 @@ static HRESULT test_secondary8(LPGUID lpGuid, int play,
"IDirectSound8_CreateSoundBuffer(secondary) should have " "IDirectSound8_CreateSoundBuffer(secondary) should have "
"returned DSERR_INVALIDPARAM, returned %08x\n", rc); "returned DSERR_INVALIDPARAM, returned %08x\n", rc);
if (secondary) if (secondary)
{
ref=IDirectSoundBuffer_Release(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); init_format(&wfx,WAVE_FORMAT_PCM,22050,16,1);
} }
......
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