Austin English : dsound/tests: Make sure to use a return value (LLVM/Clang) .

Alexandre Julliard julliard at winehq.org
Thu Feb 10 11:42:08 CST 2011


Module: wine
Branch: master
Commit: f6fb95230c17438712ceb8ed30ac2eb42e66f912
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=f6fb95230c17438712ceb8ed30ac2eb42e66f912

Author: Austin English <austinenglish at gmail.com>
Date:   Wed Feb  9 13:44:22 2011 -0800

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

---

 dlls/dsound/tests/duplex.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/dlls/dsound/tests/duplex.c b/dlls/dsound/tests/duplex.c
index 11fb2a7..0f8d6d1 100644
--- a/dlls/dsound/tests/duplex.c
+++ b/dlls/dsound/tests/duplex.c
@@ -93,8 +93,9 @@ static void IDirectSoundFullDuplex_test(LPDIRECTSOUNDFULLDUPLEX dsfdo,
     ok(rc==DS_OK,"IDirectSoundFullDuplex_QueryInterface(IID_IDirectSoundFullDuplex) "
        "failed: %08x\n",rc);
     if (rc==DS_OK) {
-        ok (dsfdo==dsfd, "different interfaces\n");
+        ok(dsfdo==dsfd, "different interfaces\n");
         ref=IDirectSound8_Release(dsfd);
+        ok(ref==1, "IDirectSoundFullDuplex_Release() has %d references, should have 1\n", ref);
     }
 
     ref=IDirectSoundFullDuplex_Release(dsfdo);




More information about the wine-cvs mailing list