2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01: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:
Lioncash 2021-02-09 17:44:11 -05:00
parent d64ba58759
commit 1dab8acf5f

View file

@ -211,7 +211,8 @@ void Controller::Execute() {
case ControllerSupportMode::ShowControllerFirmwareUpdate:
UNIMPLEMENTED_MSG("ControllerSupportMode={} is not implemented",
controller_private_arg.mode);
[[fallthrough]];
ConfigurationComplete();
break;
default: {
ConfigurationComplete();
break;