Maarten Lankhorst : dsound: Remove some more unused variables.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jul 30 16:52:32 CDT 2007


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

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Sun Jul 29 21:06:23 2007 +0200

dsound: Remove some more unused variables.

---

 dlls/dsound/dsound_private.h |    2 +-
 dlls/dsound/primary.c        |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/dsound/dsound_private.h b/dlls/dsound/dsound_private.h
index 3516c18..cfbf6bd 100644
--- a/dlls/dsound/dsound_private.h
+++ b/dlls/dsound/dsound_private.h
@@ -84,7 +84,7 @@ struct DirectSoundDevice
     PWAVEFORMATEX               pwfx;
     HWAVEOUT                    hwo;
     LPWAVEHDR                   pwave[DS_HEL_FRAGS];
-    UINT                        timerID, pwplay, pwwrite, pwqueue, prebuf, precount;
+    UINT                        timerID, pwplay, pwqueue, prebuf;
     DWORD                       fraglen;
     PIDSDRIVERBUFFER            hwbuf;
     LPBYTE                      buffer;
diff --git a/dlls/dsound/primary.c b/dlls/dsound/primary.c
index 271243d..7b7b464 100644
--- a/dlls/dsound/primary.c
+++ b/dlls/dsound/primary.c
@@ -134,7 +134,6 @@ static HRESULT DSOUND_PrimaryOpen(DirectSoundDevice *device)
 			}
 
 			device->pwplay = 0;
-			device->pwwrite = 0;
 			device->pwqueue = 0;
 			device->playpos = 0;
 			device->mixpos = 0;




More information about the wine-cvs mailing list