diff options
author | Lioncash <mathew1800@gmail.com> | 2021-02-09 17:44:11 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2021-02-09 17:44:14 -0500 |
commit | 1dab8acf5f7a5dae96afa45bba497dfd5cd2f008 (patch) | |
tree | 8de68d300c787eb85a689fcc1b93f1ece158a5a8 /src | |
parent | d64ba587599d8086d82b01a8827d5839f3e3a902 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/service/am/applets/controller.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/am/applets/controller.cpp b/src/core/hle/service/am/applets/controller.cpp index d7d3ee99a..c2bfe698f 100644 --- a/src/core/hle/service/am/applets/controller.cpp +++ b/src/core/hle/service/am/applets/controller.cpp @@ -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; |