[Scummvm-cvs-logs] SF.net SVN: scummvm: [30812] scummvm/trunk/engines/parallaction/graphics. cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Wed Feb 6 19:13:22 CET 2008
Revision: 30812
http://scummvm.svn.sourceforge.net/scummvm/?rev=30812&view=rev
Author: thebluegr
Date: 2008-02-06 10:13:22 -0800 (Wed, 06 Feb 2008)
Log Message:
-----------
Silence MSVC warning about uninitialized variables
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/graphics.cpp
Modified: scummvm/trunk/engines/parallaction/graphics.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/graphics.cpp 2008-02-06 15:38:33 UTC (rev 30811)
+++ scummvm/trunk/engines/parallaction/graphics.cpp 2008-02-06 18:13:22 UTC (rev 30812)
@@ -413,8 +413,8 @@
uint w = MIN(_vm->_screenWidth, (int32)_backgroundInfo.width);
uint h = MIN(_vm->_screenHeight, (int32)_backgroundInfo.height);
- byte *backgroundData;
- uint16 backgroundPitch;
+ byte *backgroundData = 0;
+ uint16 backgroundPitch = 0;
switch (_varBackgroundMode) {
case 1:
backgroundData = (byte*)_backgroundInfo.bg.pixels;
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