aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo
diff options
context:
space:
mode:
authorPaul Gilbert2015-07-21 22:36:05 -0400
committerPaul Gilbert2015-07-21 22:36:05 -0400
commit15c8917c01aca6b5ff2d20c3a2678e284dce648a (patch)
tree170ab27e6ce9a2fcf850577f73843ef2fe167b61 /engines/sherlock/tattoo
parentaad99b770654e42b514beca9ec99d58f5e03a22f (diff)
downloadscummvm-rg350-15c8917c01aca6b5ff2d20c3a2678e284dce648a.tar.gz
scummvm-rg350-15c8917c01aca6b5ff2d20c3a2678e284dce648a.tar.bz2
scummvm-rg350-15c8917c01aca6b5ff2d20c3a2678e284dce648a.zip
SHERLOCK: RT: Fix compiler warnings
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r--engines/sherlock/tattoo/tattoo.cpp5
-rw-r--r--engines/sherlock/tattoo/tattoo_user_interface.cpp1
2 files changed, 4 insertions, 2 deletions
diff --git a/engines/sherlock/tattoo/tattoo.cpp b/engines/sherlock/tattoo/tattoo.cpp
index 57b80ff391..2e78fd5af0 100644
--- a/engines/sherlock/tattoo/tattoo.cpp
+++ b/engines/sherlock/tattoo/tattoo.cpp
@@ -394,7 +394,7 @@ void TattooEngine::doHangManPuzzle() {
lines[line].x += paperBounds.left;
lines[line].y += paperBounds.top;
- for (int i = 0; i <= numWide; ++i)
+ for (i = 0; i <= numWide; ++i)
answers[line][i] = 0;
}
@@ -519,6 +519,9 @@ void TattooEngine::doHangManPuzzle() {
case Common::KEYCODE_DELETE:
answers[line][i] = ' ';
break;
+
+ default:
+ break;
}
}
diff --git a/engines/sherlock/tattoo/tattoo_user_interface.cpp b/engines/sherlock/tattoo/tattoo_user_interface.cpp
index ec1ba131b4..ae09ba5fc7 100644
--- a/engines/sherlock/tattoo/tattoo_user_interface.cpp
+++ b/engines/sherlock/tattoo/tattoo_user_interface.cpp
@@ -648,7 +648,6 @@ void TattooUserInterface::setupBGArea(const byte cMap[PALETTE_SIZE]) {
}
}
-
void TattooUserInterface::doBgAnimEraseBackground() {
TattooEngine &vm = *((TattooEngine *)_vm);
People &people = *_vm->_people;