aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorSven Hesse2007-04-15 14:12:11 +0000
committerSven Hesse2007-04-15 14:12:11 +0000
commit9bb3e2e495112c98b07eaa2e8bb7bdee93e6f5ad (patch)
tree31f2207dc950442ae950dc4e8b68d35629b52a8b /engines/gob
parentb932d602516365bf6a62a36773743279a26cf65b (diff)
downloadscummvm-rg350-9bb3e2e495112c98b07eaa2e8bb7bdee93e6f5ad.tar.gz
scummvm-rg350-9bb3e2e495112c98b07eaa2e8bb7bdee93e6f5ad.tar.bz2
scummvm-rg350-9bb3e2e495112c98b07eaa2e8bb7bdee93e6f5ad.zip
Some more MSVC8 uninitialed variable warning (see bug #1700986)
svn-id: r26498
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;