diff options
author | Torbjörn Andersson | 2010-03-10 06:39:23 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2010-03-10 06:39:23 +0000 |
commit | 65585f643375e71d21d1c33e7c2f9a118897837d (patch) | |
tree | c182a841eb69a3d7473bb36b04b81e7c7f66f670 /engines/agi/preagi_troll.cpp | |
parent | fc50408ce38d562d73fea2182659a4800852dcb5 (diff) | |
download | scummvm-rg350-65585f643375e71d21d1c33e7c2f9a118897837d.tar.gz scummvm-rg350-65585f643375e71d21d1c33e7c2f9a118897837d.tar.bz2 scummvm-rg350-65585f643375e71d21d1c33e7c2f9a118897837d.zip |
Silenced some harmless cppcheck warnings about unreachable code after a return.
In this case, it was always a break after a return in a switch case. There are
similar cases which cppcheck didn't detect, and a couple of cases where we have
a break after a continue in a switch case (where the continue refers to an
outer loop), but I didn't touch those. Not yet, at least.
svn-id: r48218
Diffstat (limited to 'engines/agi/preagi_troll.cpp')
-rw-r--r-- | engines/agi/preagi_troll.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/engines/agi/preagi_troll.cpp b/engines/agi/preagi_troll.cpp index 96a3147e5a..4e87c8063c 100644 --- a/engines/agi/preagi_troll.cpp +++ b/engines/agi/preagi_troll.cpp @@ -81,8 +81,6 @@ bool Troll::getMenuSel(const char *szMenu, int *iSel, int nSel) { inventory(); return false; - - break; case Common::KEYCODE_DOWN: case Common::KEYCODE_SPACE: *iSel += 1; |