diff options
author | Strangerke | 2013-12-17 22:44:10 +0100 |
---|---|---|
committer | Strangerke | 2013-12-17 22:44:42 +0100 |
commit | bccc548e158b9281483f3ba766805075000d9cbb (patch) | |
tree | 7175cb78ca2a38e359938e1916c91e175ef6f581 /engines | |
parent | b4ce81baf9057b2158ef41104d61d1647ab0ee80 (diff) | |
download | scummvm-rg350-bccc548e158b9281483f3ba766805075000d9cbb.tar.gz scummvm-rg350-bccc548e158b9281483f3ba766805075000d9cbb.tar.bz2 scummvm-rg350-bccc548e158b9281483f3ba766805075000d9cbb.zip |
AVALANCHE: Silent false-positive warning reported in Buildbot
Diffstat (limited to 'engines')
-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; |