diff options
author | Filippos Karapetis | 2008-09-03 10:00:43 +0000 |
---|---|---|
committer | Filippos Karapetis | 2008-09-03 10:00:43 +0000 |
commit | 4019bb3e37fff4f424eec2f2b89be8b1522cbc5a (patch) | |
tree | 0a6a9e5796217ccb8f957e95ea3817c59c28d9e2 /engines/cruise | |
parent | dd8e875b000e8bffb340d8f1feaa57358475150d (diff) | |
download | scummvm-rg350-4019bb3e37fff4f424eec2f2b89be8b1522cbc5a.tar.gz scummvm-rg350-4019bb3e37fff4f424eec2f2b89be8b1522cbc5a.tar.bz2 scummvm-rg350-4019bb3e37fff4f424eec2f2b89be8b1522cbc5a.zip |
Silence MSVC warning about uninitialized variables
svn-id: r34298
Diffstat (limited to 'engines/cruise')
-rw-r--r-- | engines/cruise/object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/cruise/object.cpp b/engines/cruise/object.cpp index 66a3a53018..bb8d85acd0 100644 --- a/engines/cruise/object.cpp +++ b/engines/cruise/object.cpp @@ -58,7 +58,7 @@ objDataStruct *getObjectDataFromOverlay(int ovlIdx, int objIdx) { } int16 getMultipleObjectParam(int16 overlayIdx, int16 objectIdx, objectParamsQuery *returnParam) { - objectParams *ptr2; + objectParams *ptr2 = 0; objDataStruct *ptr; ovlDataStruct *ovlData; // int16 type; @@ -246,7 +246,7 @@ int16 getSingleObjectParam(int16 overlayIdx, int16 param2, int16 param3, int16 * //char* ptr3 = NULL; objDataStruct *ptr; ovlDataStruct *ovlData; - objectParams *ptr2; + objectParams *ptr2 = 0; ptr = getObjectDataFromOverlay(overlayIdx, param2); |