Module: wine Branch: master Commit: 3d30204156b5fb48e92784f05b5ae0045364db50 URL: http://source.winehq.org/git/wine.git/?a=commit;h=3d30204156b5fb48e92784f05b...
Author: Alexandre Julliard julliard@winehq.org Date: Tue Aug 21 12:43:15 2007 +0200
dsound: Fix a compiler warning.
---
dlls/dsound/primary.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c index 4063266..ac1a17e 100644 --- a/dlls/dsound/primary.c +++ b/dlls/dsound/primary.c @@ -229,7 +229,8 @@ HRESULT DSOUND_PrimaryCreate(DirectSoundDevice *device) device->drvdesc.dwFlags = DSDDESC_DOMMSYSTEMOPEN | DSDDESC_DOMMSYSTEMSETFORMAT; waveOutClose(device->hwo); IDsDriver_Release(device->driver); - device->driver = device->buffer = NULL; + device->driver = NULL; + device->buffer = NULL; device->hwo = 0; err = mmErr(waveOutOpen(&(device->hwo), device->drvdesc.dnDevNode, device->pwfx, (DWORD_PTR)DSOUND_callback, (DWORD)device, CALLBACK_FUNCTION)); if (err != DS_OK)