aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/imd.cpp2
-rw-r--r--engines/gob/inter_v3.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/gob/imd.cpp b/engines/gob/imd.cpp
index c1a932a601..d2fa69e067 100644
--- a/engines/gob/imd.cpp
+++ b/engines/gob/imd.cpp
@@ -961,7 +961,7 @@ uint16 ImdPlayer::checkFrameType(Imd *imdPtr, int16 frame) {
}
void ImdPlayer::seekFrame(Imd *imdPtr, int16 frame, int16 from, bool restart) {
- uint32 framePos;
+ uint32 framePos = 0;
if (!imdPtr)
return;
diff --git a/engines/gob/inter_v3.cpp b/engines/gob/inter_v3.cpp
index 0fb270891b..f34953b40f 100644
--- a/engines/gob/inter_v3.cpp
+++ b/engines/gob/inter_v3.cpp
@@ -715,7 +715,7 @@ bool Inter_v3::o3_getTotTextItemPart(OpFuncParams &params) {
int16 totTextItem;
int16 part, curPart = 0;
int16 offX = 0, offY = 0;
- int16 collId, collCmd;
+ int16 collId = 0, collCmd;
uint32 stringStartVar, stringVar;
bool end;