diff options
-rw-r--r-- | engines/avalanche/dialogs.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/avalanche/dialogs.cpp b/engines/avalanche/dialogs.cpp index 271c0b8288..0dcdb440a9 100644 --- a/engines/avalanche/dialogs.cpp +++ b/engines/avalanche/dialogs.cpp @@ -318,7 +318,7 @@ void Dialogs::scrollModeMusic() { || (event.kbd.keycode == Common::KEYCODE_u) || (event.kbd.keycode == Common::KEYCODE_i) || (event.kbd.keycode == Common::KEYCODE_o) || (event.kbd.keycode == Common::KEYCODE_p) || (event.kbd.keycode == Common::KEYCODE_LEFTBRACKET) || (event.kbd.keycode == Common::KEYCODE_RIGHTBRACKET))) { - byte value; + byte value = 0; switch (event.kbd.keycode) { case Common::KEYCODE_q: value = 0; @@ -356,8 +356,6 @@ void Dialogs::scrollModeMusic() { case Common::KEYCODE_RIGHTBRACKET: value = 11; break; - default: - break; } lastOne = thisOne; |