From 013624f345c758a0a8e1bb88acdaddf604161471 Mon Sep 17 00:00:00 2001 From: Paweł Kołodziejski Date: Wed, 26 Oct 2005 18:39:06 +0000 Subject: that 3 memset() are not needed svn-id: r19320 --- scumm/imuse_digi/dimuse_codecs.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'scumm') diff --git a/scumm/imuse_digi/dimuse_codecs.cpp b/scumm/imuse_digi/dimuse_codecs.cpp index dd6424d607..c6364d13be 100644 --- a/scumm/imuse_digi/dimuse_codecs.cpp +++ b/scumm/imuse_digi/dimuse_codecs.cpp @@ -248,7 +248,6 @@ int32 decompressCodec(int32 codec, byte *comp_input, byte *comp_output, int32 in p[z] += p[z - 1]; t_table = (byte *)malloc(output_size); - memset(t_table, 0, output_size); src = comp_output; length = (output_size << 3) / 12; @@ -290,7 +289,6 @@ int32 decompressCodec(int32 codec, byte *comp_input, byte *comp_output, int32 in p[z] += p[z - 1]; t_table = (byte *)malloc(output_size); - memset(t_table, 0, output_size); src = comp_output; length = (output_size << 3) / 12; @@ -332,7 +330,6 @@ int32 decompressCodec(int32 codec, byte *comp_input, byte *comp_output, int32 in p[z] += p[z - 1]; t_table = (byte *)malloc(output_size); - memset(t_table, 0, output_size); src = comp_output; length = (output_size << 3) / 12; -- cgit v1.2.3