aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2011-03-02 14:07:46 +0100
committerMax Horn2011-03-02 14:07:46 +0100
commite9dad7859c43f87c4f4076dfcfd287af6eb1d139 (patch)
treec68240d6b8a21894138be04a8c43401eed2daac9 /engines
parent74e99328ec0fa43074c52b69d21922407153a1aa (diff)
downloadscummvm-rg350-e9dad7859c43f87c4f4076dfcfd287af6eb1d139.tar.gz
scummvm-rg350-e9dad7859c43f87c4f4076dfcfd287af6eb1d139.tar.bz2
scummvm-rg350-e9dad7859c43f87c4f4076dfcfd287af6eb1d139.zip
HUGO: Silence GCC warning
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/schedule.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/hugo/schedule.cpp b/engines/hugo/schedule.cpp
index 257b1d70f3..1556f3a154 100644
--- a/engines/hugo/schedule.cpp
+++ b/engines/hugo/schedule.cpp
@@ -753,7 +753,8 @@ void Scheduler::saveActions(Common::WriteStream *f) const {
for (int i = 0; i < _actListArrSize; i++) {
// write all the sub elems data
- for (nbrSubElem = 1; _actListArr[i][nbrSubElem - 1].a0.actType != ANULL; nbrSubElem++);
+ for (nbrSubElem = 1; _actListArr[i][nbrSubElem - 1].a0.actType != ANULL; nbrSubElem++)
+ ;
f->writeUint16BE(nbrSubElem);
for (int j = 0; j < nbrSubElem; j++) {