[PATCH] dsound: remove dead code from mixer (Coverity)
Marcus Meissner
marcus at jet.franken.de
Sun Oct 16 12:16:41 CDT 2011
Hi,
Removed definite dead code. CID 5337.
Ciao, Marcus
---
dlls/dsound/mixer.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/dlls/dsound/mixer.c b/dlls/dsound/mixer.c
index 8adbdff..b1925d5 100644
--- a/dlls/dsound/mixer.c
+++ b/dlls/dsound/mixer.c
@@ -934,11 +934,6 @@ static void DSOUND_PerformMix(DirectSoundDevice *device)
size2 = 0;
FillMemory(device->mix_buffer + mixplaypos, mixplaypos2 - mixplaypos, 0);
FillMemory(buf1, size1, nfiller);
- if (buf2 && size2)
- {
- FIXME("%d: There should be no additional buffer here!!\n", __LINE__);
- FillMemory(buf2, size2, nfiller);
- }
}
device->playpos = playpos;
--
1.7.3.4
More information about the wine-patches
mailing list