diff options
author | Eugene Sandulenko | 2006-11-22 15:50:30 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2006-11-22 15:50:30 +0000 |
commit | cfb29dcb5199922e40e08b7cdc6502478782006c (patch) | |
tree | 6781796da6f3dbe145425b59cf90354c250982d6 /engines/gob | |
parent | 1076ae02ea84fa4795871e10e366ec6fbeed4d83 (diff) | |
download | scummvm-rg350-cfb29dcb5199922e40e08b7cdc6502478782006c.tar.gz scummvm-rg350-cfb29dcb5199922e40e08b7cdc6502478782006c.tar.bz2 scummvm-rg350-cfb29dcb5199922e40e08b7cdc6502478782006c.zip |
Fix MSVC2005 warnings. Please, review the changes.
svn-id: r24760
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/gob.cpp | 2 | ||||
-rw-r--r-- | engines/gob/inter_v2.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/gob.cpp b/engines/gob/gob.cpp index 87d9633563..f222414ae1 100644 --- a/engines/gob/gob.cpp +++ b/engines/gob/gob.cpp @@ -368,7 +368,7 @@ void GobEngine::saveGame(enum SaveFiles sFile, int16 dataVar, int32 size, int32 void GobEngine::loadGame(enum SaveFiles sFile, int16 dataVar, int32 size, int32 offset) { int32 sSize; int32 retSize; - int16 index; + int16 index = 0; int16 y; char *buf; char *sName; diff --git a/engines/gob/inter_v2.cpp b/engines/gob/inter_v2.cpp index 0d05f659dd..7d01d4b145 100644 --- a/engines/gob/inter_v2.cpp +++ b/engines/gob/inter_v2.cpp @@ -1332,7 +1332,7 @@ bool Inter_v2::o2_readData(char &cmdCount, int16 &counter, int16 &retFlag) { int32 offset; int16 dataVar; // si int16 handle; - int16 index; + int16 index = 0; int16 y; char *buf; bool readPal; |