aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorMax Horn2009-04-27 14:40:14 +0000
committerMax Horn2009-04-27 14:40:14 +0000
commitf177c7142c996fbeed564fe06316f5bc6f6b6914 (patch)
tree1ef16ca83085dae5deeb3ce323c4f02c1043e461 /engines/sci/engine
parent7f20f3bb3e30c9b9cb78ea1f9033677d30c00a04 (diff)
downloadscummvm-rg350-f177c7142c996fbeed564fe06316f5bc6f6b6914.tar.gz
scummvm-rg350-f177c7142c996fbeed564fe06316f5bc6f6b6914.tar.bz2
scummvm-rg350-f177c7142c996fbeed564fe06316f5bc6f6b6914.zip
Fixed some silly warnings
svn-id: r40165
Diffstat (limited to 'engines/sci/engine')
-rw-r--r--engines/sci/engine/intmap.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/intmap.cpp b/engines/sci/engine/intmap.cpp
index 732b69d4ea..633754ef9c 100644
--- a/engines/sci/engine/intmap.cpp
+++ b/engines/sci/engine/intmap.cpp
@@ -111,7 +111,7 @@ int IntMapper::lookupKey(int key) const {
void IntMapper::saveLoadWithSerializer(Common::Serializer &s) {
s.syncAsSint32LE(base_value);
if (s.isLoading()) {
- uint32 key, idx;
+ uint32 key = 0, idx = 0;
clear();
while (true) {
s.syncAsSint32LE(key);