[Scummvm-cvs-logs] CVS: scummvm/scumm/imuse_digi dimuse_codecs.cpp,1.15,1.16
Pawel Kolodziejski
aquadran at users.sourceforge.net
Wed Oct 26 11:40:13 CEST 2005
Update of /cvsroot/scummvm/scummvm/scumm/imuse_digi
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28150
Modified Files:
dimuse_codecs.cpp
Log Message:
that 3 memset() are not needed
Index: dimuse_codecs.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/imuse_digi/dimuse_codecs.cpp,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- dimuse_codecs.cpp 18 Oct 2005 01:30:21 -0000 1.15
+++ dimuse_codecs.cpp 26 Oct 2005 18:39:06 -0000 1.16
@@ -248,7 +248,6 @@
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 @@
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 @@
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;
More information about the Scummvm-git-logs
mailing list