aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2010-10-27 19:43:35 +0000
committerTorbjörn Andersson2010-10-27 19:43:35 +0000
commit8dbe052ca2f55d003491be52d6f322cdbb1e8ef1 (patch)
treedbbcc0194bb299f95165fc177858c35773a3f095
parente85f43877aa4e2e2750c6f2d5cfd3f562d893fe5 (diff)
downloadscummvm-rg350-8dbe052ca2f55d003491be52d6f322cdbb1e8ef1.tar.gz
scummvm-rg350-8dbe052ca2f55d003491be52d6f322cdbb1e8ef1.tar.bz2
scummvm-rg350-8dbe052ca2f55d003491be52d6f322cdbb1e8ef1.zip
LASTEXPRESS: Rename variable to silence GCC warning
svn-id: r53888
-rw-r--r--engines/lastexpress/game/savepoint.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/lastexpress/game/savepoint.cpp b/engines/lastexpress/game/savepoint.cpp
index 9a93c975ba..30467f8368 100644
--- a/engines/lastexpress/game/savepoint.cpp
+++ b/engines/lastexpress/game/savepoint.cpp
@@ -249,12 +249,12 @@ void SavePoints::saveLoadWithSerializer(Common::Serializer &s) {
s.skip((_savePointsMaxSize - dataSize) * 16);
// Number of savepoints
- uint32 count = _savepoints.size();
- s.syncAsUint32LE(count);
+ uint32 numSavepoints = _savepoints.size();
+ s.syncAsUint32LE(numSavepoints);
// Savepoints
if (s.isLoading()) {
- for (uint i= 0; i < count; i++) {
+ for (uint i = 0; i < numSavepoints; i++) {
SavePoint point;
s.syncAsUint32LE(point.entity1);
s.syncAsUint32LE(point.action);