diff options
author | Paul Gilbert | 2015-07-21 22:36:05 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-07-21 22:36:05 -0400 |
commit | 15c8917c01aca6b5ff2d20c3a2678e284dce648a (patch) | |
tree | 170ab27e6ce9a2fcf850577f73843ef2fe167b61 /engines/sherlock | |
parent | aad99b770654e42b514beca9ec99d58f5e03a22f (diff) | |
download | scummvm-rg350-15c8917c01aca6b5ff2d20c3a2678e284dce648a.tar.gz scummvm-rg350-15c8917c01aca6b5ff2d20c3a2678e284dce648a.tar.bz2 scummvm-rg350-15c8917c01aca6b5ff2d20c3a2678e284dce648a.zip |
SHERLOCK: RT: Fix compiler warnings
Diffstat (limited to 'engines/sherlock')
-rw-r--r-- | engines/sherlock/tattoo/tattoo.cpp | 5 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo_user_interface.cpp | 1 |
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; |