diff options
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; |