aboutsummaryrefslogtreecommitdiff
path: root/engines/m4
diff options
context:
space:
mode:
authorEugene Sandulenko2008-07-08 11:18:44 +0000
committerEugene Sandulenko2008-07-08 11:18:44 +0000
commit03b36a3a544b7ae36e4528bc63039f7f3de475bb (patch)
tree78ba2e55133edb051ce18198e5a09e25c498c01c /engines/m4
parentdadb771cdcdba41c795053b5115f04109b8fd545 (diff)
downloadscummvm-rg350-03b36a3a544b7ae36e4528bc63039f7f3de475bb.tar.gz
scummvm-rg350-03b36a3a544b7ae36e4528bc63039f7f3de475bb.tar.bz2
scummvm-rg350-03b36a3a544b7ae36e4528bc63039f7f3de475bb.zip
Shut couple of MSVC warnings
svn-id: r32961
Diffstat (limited to 'engines/m4')
-rw-r--r--engines/m4/converse.cpp2
-rw-r--r--engines/m4/resource.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/converse.cpp b/engines/m4/converse.cpp
index a85fdea02f..5b8bdab9d6 100644
--- a/engines/m4/converse.cpp
+++ b/engines/m4/converse.cpp
@@ -380,7 +380,7 @@ void Converse::loadConversation(const char *convName) {
uint32 size;
uint32 chunk;
uint32 data = 0;
- uint32 i;
+ uint32 i = 0;
ConvEntry* curEntry = NULL;
ConvEntry* replyEntry = NULL;
int32 currentWeightedEntry = -1;
diff --git a/engines/m4/resource.cpp b/engines/m4/resource.cpp
index 57816b6600..074cab1095 100644
--- a/engines/m4/resource.cpp
+++ b/engines/m4/resource.cpp
@@ -310,7 +310,7 @@ const char *MADSResourceManager::getResourceFilename(const char *resourceName) {
Common::SeekableReadStream *MADSResourceManager::loadResource(const char *resourceName, bool loadFlag) {
Common::File hagFile;
- uint32 offset, size;
+ uint32 offset, size = 0;
// If the first character is a '@' then look for an external file