Ken Thomases : winecoreaudio: Move a variable declaration to narrower
scope , reduce whitespace.
Alexandre Julliard
julliard at wine.codeweavers.com
Wed Jun 20 09:13:45 CDT 2007
Module: wine
Branch: master
Commit: 58e37cbebf1957de0ae4481bf0a0f0d1d42950bd
URL: http://source.winehq.org/git/wine.git/?a=commit;h=58e37cbebf1957de0ae4481bf0a0f0d1d42950bd
Author: Ken Thomases <ken at codeweavers.com>
Date: Wed Jun 20 07:01:04 2007 -0500
winecoreaudio: Move a variable declaration to narrower scope, reduce whitespace.
---
dlls/winecoreaudio.drv/audio.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winecoreaudio.drv/audio.c b/dlls/winecoreaudio.drv/audio.c
index dec3832..e5b3e7d 100644
--- a/dlls/winecoreaudio.drv/audio.c
+++ b/dlls/winecoreaudio.drv/audio.c
@@ -1072,8 +1072,7 @@ static void wodHelper_NotifyDoneForList(WINE_WAVEOUT* wwo, LPWAVEHDR lpWaveHdr)
*/
static void wodHelper_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
{
- LPWAVEHDR lpWaveHdr;
- LPWAVEHDR lpFirstDoneWaveHdr = NULL;
+ LPWAVEHDR lpFirstDoneWaveHdr = NULL;
OSSpinLockLock(&wwo->lock);
@@ -1086,6 +1085,7 @@ static void wodHelper_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
}
else
{
+ LPWAVEHDR lpWaveHdr;
LPWAVEHDR lpLastDoneWaveHdr = NULL;
/* Start from lpQueuePtr and keep notifying until:
More information about the wine-cvs
mailing list