summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2021-02-09 17:44:11 -0500
committerGravatar Lioncash2021-02-09 17:44:14 -0500
commit1dab8acf5f7a5dae96afa45bba497dfd5cd2f008 (patch)
tree8de68d300c787eb85a689fcc1b93f1ece158a5a8 /src
parentnfp: Correct uninitialized size being used within GetTagInfo() (diff)
downloadyuzu-1dab8acf5f7a5dae96afa45bba497dfd5cd2f008.tar.gz
yuzu-1dab8acf5f7a5dae96afa45bba497dfd5cd2f008.tar.xz
yuzu-1dab8acf5f7a5dae96afa45bba497dfd5cd2f008.zip
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 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() {
211 case ControllerSupportMode::ShowControllerFirmwareUpdate: 211 case ControllerSupportMode::ShowControllerFirmwareUpdate:
212 UNIMPLEMENTED_MSG("ControllerSupportMode={} is not implemented", 212 UNIMPLEMENTED_MSG("ControllerSupportMode={} is not implemented",
213 controller_private_arg.mode); 213 controller_private_arg.mode);
214 [[fallthrough]]; 214 ConfigurationComplete();
215 break;
215 default: { 216 default: {
216 ConfigurationComplete(); 217 ConfigurationComplete();
217 break; 218 break;