[Scummvm-git-logs] scummvm master -> f1e564c92ce50500d5fd0c4e8d54dfb92a400830
digitall
547637+digitall at users.noreply.github.com
Mon Oct 14 05:04:39 CEST 2019
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
f1e564c92c GUI: Add Missing Switch Default Cases in About Dialog Easter Egg
Commit: f1e564c92ce50500d5fd0c4e8d54dfb92a400830
https://github.com/scummvm/scummvm/commit/f1e564c92ce50500d5fd0c4e8d54dfb92a400830
Author: D G Turner (digitall at scummvm.org)
Date: 2019-10-14T04:00:45+01:00
Commit Message:
GUI: Add Missing Switch Default Cases in About Dialog Easter Egg
These are flagged by GCC if -Wswitch-default is enabled.
Changed paths:
gui/about.cpp
diff --git a/gui/about.cpp b/gui/about.cpp
index e768519..11c240b 100644
--- a/gui/about.cpp
+++ b/gui/about.cpp
@@ -918,6 +918,8 @@ void EE::computer0() {
dest = 1;
}
break;
+ default:
+ break;
}
_keymove[0][kDirUp] = dest;
} else if (_bvely > 0 && _tbx < 140) {
@@ -1003,6 +1005,8 @@ void EE::computer1() {
dest = 1;
}
break;
+ default:
+ break;
}
_keymove[1][kDirUp] = dest;
} else if (_bvely > 0 && _tbx > 125) {
More information about the Scummvm-git-logs
mailing list