CLOUD: Add Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
This commit is contained in:
parent
3cb6a84f03
commit
f47a58ba64
2 changed files with 9 additions and 0 deletions
|
@ -85,6 +85,8 @@ void CloudIcon::update() {
|
|||
_lastUpdateTime = currentTime;
|
||||
|
||||
switch (_state) {
|
||||
default:
|
||||
// fallthrough intended
|
||||
case kHidden:
|
||||
return; // Nothing to do
|
||||
case kShown:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue