From c6bda4dc172ccea50037464770513ef10edc7257 Mon Sep 17 00:00:00 2001 From: Austin English Date: Mon, 30 Jan 2012 22:47:46 -0600 Subject: [PATCH] dsound: Remove an unnecessary assignment (LLVM/Clang). --- dlls/dsound/mixer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c index 23af6ce9ddb..7d0ea66ca84 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);