Merge pull request #5902 from lioncash/core-warn

core: Silence various warnings on Clang 12
This commit is contained in:
bunnei 2021-02-11 18:57:23 -08:00 committed by GitHub
commit a0379c2db5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 4 deletions

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;