Silence explicit case-fallthru

This commit is contained in:
Yuri D'Elia 2021-02-03 19:45:37 +01:00 committed by DRracer
parent c096462aab
commit d727a949dd
2 changed files with 4 additions and 4 deletions

View File

@ -1555,7 +1555,7 @@ void mmu_continue_loading(bool blocking)
{ {
case Ls::Enter: case Ls::Enter:
increment_load_fail(); increment_load_fail();
// no break // FALLTHRU
case Ls::Retry: case Ls::Retry:
++retry; // overflow not handled, as it is not dangerous. ++retry; // overflow not handled, as it is not dangerous.
if (retry >= max_retry) if (retry >= max_retry)

View File

@ -2095,7 +2095,7 @@ if(lcd_clicked())
{ {
case FilamentAction::AutoLoad: case FilamentAction::AutoLoad:
eFilamentAction=FilamentAction::None; // i.e. non-autoLoad eFilamentAction=FilamentAction::None; // i.e. non-autoLoad
// no break // FALLTHRU
case FilamentAction::Load: case FilamentAction::Load:
loading_flag=true; loading_flag=true;
enquecommand_P(PSTR("M701")); // load filament enquecommand_P(PSTR("M701")); // load filament
@ -7412,7 +7412,7 @@ bool lcd_selftest()
break; break;
case FanCheck::SwappedFan: case FanCheck::SwappedFan:
_swapped_fan = true; _swapped_fan = true;
// no break // FALLTHRU
default: default:
_result = true; _result = true;
break; break;
@ -7435,7 +7435,7 @@ bool lcd_selftest()
break; break;
case FanCheck::SwappedFan: case FanCheck::SwappedFan:
_swapped_fan = true; _swapped_fan = true;
// no break // FALLTHRU
default: default:
_result = true; _result = true;
break; break;