aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-02-09 17:44:11 -0500
committerLioncash <mathew1800@gmail.com>2021-02-09 17:44:14 -0500
commit771865bdfcfbdd50f9db87515218fbecfa03b09c (patch)
tree8de68d300c787eb85a689fcc1b93f1ece158a5a8 /src
parent32e763c64cbd6c27b62d1e82acf846d68050232c (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.cpp3
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 d7d3ee99ad..c2bfe698f5 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;