aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-07 01:12:48 +0000
committerMatthew Hoops2010-12-07 01:12:48 +0000
commit65f218dce04d7bf82d08b440e2e14d37a80aa71c (patch)
tree11ffd2c5e2cc720a21d6dbd5d1f00dc86f25d658 /engines/sci
parentde2ef2edc0ea277b4ea5db77a109199c18ff0dae (diff)
downloadscummvm-rg350-65f218dce04d7bf82d08b440e2e14d37a80aa71c.tar.gz
scummvm-rg350-65f218dce04d7bf82d08b440e2e14d37a80aa71c.tar.bz2
scummvm-rg350-65f218dce04d7bf82d08b440e2e14d37a80aa71c.zip
SCI: Silence warnings
svn-id: r54806
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/engine/savegame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 2f87b4a72e..a4c059db5a 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -155,7 +155,7 @@ void SegManager::saveLoadWithSerializer(Common::Serializer &s) {
} else {
// Old saved game. Skip the data.
Common::String tmp;
- for (int i = 0; i < 4; i++) {
+ for (int j = 0; j < 4; j++) {
s.syncString(tmp); // OBSOLETE: name
s.skip(4); // OBSOLETE: maxSize
s.syncString(tmp); // OBSOLETE: value