From 1dab8acf5f7a5dae96afa45bba497dfd5cd2f008 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 9 Feb 2021 17:44:11 -0500 Subject: 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. --- src/core/hle/service/am/applets/controller.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/hle/service/am') 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; -- cgit v1.2.3