mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-03 07:11:49 +00:00
ADL: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
parent
7901bbe7ac
commit
3bd273fc8e
@ -245,6 +245,8 @@ Common::String AdlEngine::inputString(byte prompt) const {
|
||||
s.deleteLastChar();
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
};
|
||||
} else {
|
||||
if (s.size() < 255) {
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user