winecoreaudio: Move a variable declaration to narrower scope, reduce whitespace.

This commit is contained in:
Ken Thomases 2007-06-20 07:01:04 -05:00 committed by Alexandre Julliard
parent de480f0b6e
commit 58e37cbebf
1 changed files with 2 additions and 2 deletions

View File

@ -1072,7 +1072,6 @@ static void wodHelper_NotifyDoneForList(WINE_WAVEOUT* wwo, LPWAVEHDR lpWaveHdr)
*/ */
static void wodHelper_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force) static void wodHelper_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
{ {
LPWAVEHDR lpWaveHdr;
LPWAVEHDR lpFirstDoneWaveHdr = NULL; LPWAVEHDR lpFirstDoneWaveHdr = NULL;
OSSpinLockLock(&wwo->lock); OSSpinLockLock(&wwo->lock);
@ -1086,6 +1085,7 @@ static void wodHelper_NotifyCompletions(WINE_WAVEOUT* wwo, BOOL force)
} }
else else
{ {
LPWAVEHDR lpWaveHdr;
LPWAVEHDR lpLastDoneWaveHdr = NULL; LPWAVEHDR lpLastDoneWaveHdr = NULL;
/* Start from lpQueuePtr and keep notifying until: /* Start from lpQueuePtr and keep notifying until: