Austin English : dsound: Remove an unnecessary assignment (LLVM/Clang).

Alexandre Julliard julliard at winehq.org
Tue Jan 31 14:06:19 CST 2012


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

Author: Austin English <austinenglish at gmail.com>
Date:   Mon Jan 30 22:47:46 2012 -0600

dsound: Remove an unnecessary assignment (LLVM/Clang).

---

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

diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c
index 23af6ce..7d0ea66 100644
--- a/dlls/dsound/mixer.c
+++ b/dlls/dsound/mixer.c
@@ -482,7 +482,7 @@ static LPBYTE DSOUND_MixerVol(const IDirectSoundBufferImpl *dsb, INT len)
 static DWORD DSOUND_MixInBuffer(IDirectSoundBufferImpl *dsb, DWORD writepos, DWORD fraglen)
 {
 	INT len = fraglen, ilen;
-	BYTE *ibuf = dsb->buffer->memory + dsb->buf_mixpos, *volbuf;
+	BYTE *ibuf, *volbuf;
 	DWORD oldpos, mixbufpos;
 
 	TRACE("buf_mixpos=%d/%d sec_mixpos=%d/%d\n", dsb->buf_mixpos, dsb->tmp_buffer_len, dsb->sec_mixpos, dsb->buflen);




More information about the wine-cvs mailing list