Austin English : dsound: Remove an unnecessary assignment (LLVM/Clang).
Module: wine Branch: master Commit: c6bda4dc172ccea50037464770513ef10edc7257 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c6bda4dc172ccea50037464770... Author: Austin English <austinenglish(a)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);
participants (1)
-
Alexandre Julliard