diff options
author | James Brown | 2002-02-24 17:25:03 +0000 |
---|---|---|
committer | James Brown | 2002-02-24 17:25:03 +0000 |
commit | abbc4bf289892ce20a7de1560c171a5822c897e1 (patch) | |
tree | c0962bbbbc2279ec71528b8a94afe412e1f1e8bd /debug.cpp | |
parent | c8522359f5bd376433bf58ead734de43534a109c (diff) | |
download | scummvm-rg350-abbc4bf289892ce20a7de1560c171a5822c897e1.tar.gz scummvm-rg350-abbc4bf289892ce20a7de1560c171a5822c897e1.tar.bz2 scummvm-rg350-abbc4bf289892ce20a7de1560c171a5822c897e1.zip |
Code cleanup - get rid of a bunch of typecast and unused variable warnings.
svn-id: r3627
Diffstat (limited to 'debug.cpp')
-rw-r--r-- | debug.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -60,8 +60,6 @@ void ScummDebugger::attach(Scumm *s) { void BoxTest(int num); bool ScummDebugger::do_command() { - int cmd; - switch(get_command()) { case CMD_HELP: printf( @@ -121,8 +119,10 @@ bool ScummDebugger::do_command() { return true; case CMD_EXIT: exit(1); + + default: /* this line is never reached */ + error("Unknown debug command"); } - /* this line is never reached */ } void ScummDebugger::enter() { |