[Scummvm-cvs-logs] SF.net SVN: scummvm:[34298] scummvm/trunk/engines/cruise/object.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Wed Sep 3 12:00:44 CEST 2008


Revision: 34298
          http://scummvm.svn.sourceforge.net/scummvm/?rev=34298&view=rev
Author:   thebluegr
Date:     2008-09-03 10:00:43 +0000 (Wed, 03 Sep 2008)

Log Message:
-----------
Silence MSVC warning about uninitialized variables

Modified Paths:
--------------
    scummvm/trunk/engines/cruise/object.cpp

Modified: scummvm/trunk/engines/cruise/object.cpp
===================================================================
--- scummvm/trunk/engines/cruise/object.cpp	2008-09-03 09:58:28 UTC (rev 34297)
+++ scummvm/trunk/engines/cruise/object.cpp	2008-09-03 10:00:43 UTC (rev 34298)
@@ -58,7 +58,7 @@
 }
 
 int16 getMultipleObjectParam(int16 overlayIdx, int16 objectIdx, objectParamsQuery *returnParam) {
-	objectParams *ptr2;
+	objectParams *ptr2 = 0;
 	objDataStruct *ptr;
 	ovlDataStruct *ovlData;
 //  int16 type;
@@ -246,7 +246,7 @@
 	//char* ptr3 = NULL;
 	objDataStruct *ptr;
 	ovlDataStruct *ovlData;
-	objectParams *ptr2;
+	objectParams *ptr2 = 0;
 
 	ptr = getObjectDataFromOverlay(overlayIdx, param2);
 


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