[Scummvm-cvs-logs] SF.net SVN: scummvm:[39535] scummvm/trunk/engines/sword1
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Thu Mar 19 21:38:29 CET 2009
Revision: 39535
http://scummvm.svn.sourceforge.net/scummvm/?rev=39535&view=rev
Author: thebluegr
Date: 2009-03-19 20:38:29 +0000 (Thu, 19 Mar 2009)
Log Message:
-----------
Silenced some warnings about potentially uninitialized variables
Modified Paths:
--------------
scummvm/trunk/engines/sword1/detection.cpp
scummvm/trunk/engines/sword1/mouse.cpp
Modified: scummvm/trunk/engines/sword1/detection.cpp
===================================================================
--- scummvm/trunk/engines/sword1/detection.cpp 2009-03-19 19:52:05 UTC (rev 39534)
+++ scummvm/trunk/engines/sword1/detection.cpp 2009-03-19 20:38:29 UTC (rev 39535)
@@ -247,7 +247,7 @@
char fileName[12];
snprintf(fileName, 12, "sword1.%03d", slot);
char name[40];
- uint32 playTime;
+ uint32 playTime = 0;
byte versionSave;
Common::InSaveFile *in = g_system->getSavefileManager()->openForLoading(fileName);
Modified: scummvm/trunk/engines/sword1/mouse.cpp
===================================================================
--- scummvm/trunk/engines/sword1/mouse.cpp 2009-03-19 19:52:05 UTC (rev 39534)
+++ scummvm/trunk/engines/sword1/mouse.cpp 2009-03-19 20:38:29 UTC (rev 39535)
@@ -205,8 +205,8 @@
uint16 noFrames = _resMan->getLEUint16(ptr->numFrames);
uint16 ptrSizeX = _resMan->getLEUint16(ptr->sizeX);
uint16 ptrSizeY = _resMan->getLEUint16(ptr->sizeY);
- uint16 luggSizeX;
- uint16 luggSizeY;
+ uint16 luggSizeX = 0;
+ uint16 luggSizeY = 0;
uint16 resSizeX;
uint16 resSizeY;
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