mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-29 23:06:23 -05:00
am/controller: Remove [[fallthrough]] from unreachable path
Prevents warnings on clang 12. This path is reachable on other variations of the build that disable the unreachable macro.
This commit is contained in:
parent
d64ba58759
commit
1dab8acf5f
1 changed files with 2 additions and 1 deletions
|
@ -211,7 +211,8 @@ void Controller::Execute() {
|
||||||
case ControllerSupportMode::ShowControllerFirmwareUpdate:
|
case ControllerSupportMode::ShowControllerFirmwareUpdate:
|
||||||
UNIMPLEMENTED_MSG("ControllerSupportMode={} is not implemented",
|
UNIMPLEMENTED_MSG("ControllerSupportMode={} is not implemented",
|
||||||
controller_private_arg.mode);
|
controller_private_arg.mode);
|
||||||
[[fallthrough]];
|
ConfigurationComplete();
|
||||||
|
break;
|
||||||
default: {
|
default: {
|
||||||
ConfigurationComplete();
|
ConfigurationComplete();
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue