diff options
| author | Paweł Kołodziejski | 2005-10-26 18:39:06 +0000 | 
|---|---|---|
| committer | Paweł Kołodziejski | 2005-10-26 18:39:06 +0000 | 
| commit | 013624f345c758a0a8e1bb88acdaddf604161471 (patch) | |
| tree | 2fb17187210558b66270d310608e41691dc57616 | |
| parent | 9a85839aa442726b05ce7cf126183bef027a6338 (diff) | |
| download | scummvm-rg350-013624f345c758a0a8e1bb88acdaddf604161471.tar.gz scummvm-rg350-013624f345c758a0a8e1bb88acdaddf604161471.tar.bz2 scummvm-rg350-013624f345c758a0a8e1bb88acdaddf604161471.zip | |
that 3 memset() are not needed
svn-id: r19320
| -rw-r--r-- | scumm/imuse_digi/dimuse_codecs.cpp | 3 | 
1 files changed, 0 insertions, 3 deletions
| 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; | 
