Module: wine Branch: master Commit: 8c771e3f7e39caaac0a192d32e19d6f0492d138c URL: http://source.winehq.org/git/wine.git/?a=commit;h=8c771e3f7e39caaac0a192d32e...
Author: Austin English austinenglish@gmail.com Date: Mon Feb 7 14:57:29 2011 -0800
dsound/tests: Make sure to use return values (LLVM/Clang).
---
dlls/dsound/tests/ds3d8.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/dsound/tests/ds3d8.c b/dlls/dsound/tests/ds3d8.c index aa72648..41de792 100644 --- a/dlls/dsound/tests/ds3d8.c +++ b/dlls/dsound/tests/ds3d8.c @@ -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); }