Marcus Meissner : dsound: Remove dead code from mixer (Coverity).

Alexandre Julliard julliard at winehq.org
Mon Oct 17 13:08:54 CDT 2011


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

Author: Marcus Meissner <marcus at jet.franken.de>
Date:   Sun Oct 16 19:16:41 2011 +0200

dsound: Remove dead code from mixer (Coverity).

---

 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;
 




More information about the wine-cvs mailing list