[Scummvm-cvs-logs] SF.net SVN: scummvm:[33153] residual/trunk/engine/tinygl/image_util.cpp

aquadran at users.sourceforge.net aquadran at users.sourceforge.net
Sun Jul 20 23:54:51 CEST 2008


Revision: 33153
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33153&view=rev
Author:   aquadran
Date:     2008-07-20 21:54:32 +0000 (Sun, 20 Jul 2008)

Log Message:
-----------
fixed warning

Modified Paths:
--------------
    residual/trunk/engine/tinygl/image_util.cpp

Modified: residual/trunk/engine/tinygl/image_util.cpp
===================================================================
--- residual/trunk/engine/tinygl/image_util.cpp	2008-07-20 21:47:28 UTC (rev 33152)
+++ residual/trunk/engine/tinygl/image_util.cpp	2008-07-20 21:54:32 UTC (rev 33153)
@@ -33,7 +33,7 @@
 void gl_resizeImage(unsigned char *dest, int xsize_dest, int ysize_dest,
                     unsigned char *src, int xsize_src, int ysize_src) {
 	unsigned char *pix, *pix_src;
-	int point1_offset, point2_offset, point3_offset;
+	int point1_offset = 0, point2_offset = 0, point3_offset = 0;
 	float x1, y1, x1inc, y1inc;
 	int xi, yi, j, xf, yf, x, y;
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list