Roy Shea : dsound/tests: Removed test depending on value of undefined variable.

Alexandre Julliard julliard at winehq.org
Wed Jun 25 16:43:57 CDT 2008


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

Author: Roy Shea <royshea at gmail.com>
Date:   Tue Jun 24 10:29:06 2008 -0700

dsound/tests: Removed test depending on value of undefined variable.

---

 dlls/dsound/tests/dsound.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/dlls/dsound/tests/dsound.c b/dlls/dsound/tests/dsound.c
index 6c81640..fc15bad 100644
--- a/dlls/dsound/tests/dsound.c
+++ b/dlls/dsound/tests/dsound.c
@@ -407,12 +407,6 @@ static HRESULT test_primary(LPGUID lpGuid)
        "IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
        "dsbo=%p\n",DXGetErrorString8(rc),primary);
 
-    /* DSOUND: Error: Invalid buffer description pointer */
-    rc=IDirectSound_CreateSoundBuffer(dso,&bufdesc,0,NULL);
-    ok(rc==DSERR_INVALIDPARAM && primary==0,
-       "IDirectSound_CreateSoundBuffer() should have failed: rc=%s,"
-       "dsbo=0x%p\n",DXGetErrorString8(rc),primary);
-
     ZeroMemory(&bufdesc, sizeof(bufdesc));
 
     /* DSOUND: Error: Invalid size */




More information about the wine-cvs mailing list