diff options
-rw-r--r-- | engines/adl/adl.cpp | 2 | ||||
-rw-r--r-- | engines/adl/console.cpp | 3 | ||||
-rw-r--r-- | engines/adl/hires5.cpp | 3 |
3 files changed, 8 insertions, 0 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp index 9bd0011c5f..7ae33fb747 100644 --- a/engines/adl/adl.cpp +++ b/engines/adl/adl.cpp @@ -245,6 +245,8 @@ Common::String AdlEngine::inputString(byte prompt) const { s.deleteLastChar(); } break; + default: + break; }; } else { if (s.size() < 255) { diff --git a/engines/adl/console.cpp b/engines/adl/console.cpp index 45672652e2..def444f55a 100644 --- a/engines/adl/console.cpp +++ b/engines/adl/console.cpp @@ -372,6 +372,9 @@ void Console::printItem(const Item &item) { case IDI_ITEM_DOESNT_MOVE: state = "FIXED"; break; + default: + state = "UNKNOWN"; + break; } debugPrintf("%3d %s %-30s %-10s %-8s (%3d, %3d)\n", item.id, name.c_str(), desc.c_str(), _engine->itemRoomStr(item.room).c_str(), state.c_str(), item.position.x, item.position.y); diff --git a/engines/adl/hires5.cpp b/engines/adl/hires5.cpp index b9b51c60fc..24a31b04d1 100644 --- a/engines/adl/hires5.cpp +++ b/engines/adl/hires5.cpp @@ -371,6 +371,9 @@ void HiRes5Engine::applyRegionWorkarounds() { // to dig with. Probably a remnant of an earlier version // of the script. removeCommand(_roomCommands, 0); + break; + default: + break; } } |