aboutsummaryrefslogtreecommitdiff
path: root/engines/made
diff options
context:
space:
mode:
Diffstat (limited to 'engines/made')
-rw-r--r--engines/made/database.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/made/database.cpp b/engines/made/database.cpp
index f541047ca9..7656d9c5c4 100644
--- a/engines/made/database.cpp
+++ b/engines/made/database.cpp
@@ -389,8 +389,8 @@ void GameDatabaseV2::load(Common::SeekableReadStream &sourceS) {
if (strncmp(header, "ADVSYS", 6))
warning ("Unexpected database header, expected ADVSYS");
- uint32 textOffs, objectsOffs, objectsSize, textSize;
- uint16 objectCount, varObjectCount;
+ uint32 textOffs = 0, objectsOffs = 0, objectsSize = 0, textSize;
+ uint16 objectCount = 0, varObjectCount = 0;
sourceS.readUint16LE(); // skip sub-version
sourceS.skip(18); // skip program name