From 6eac59cea47a2f5cfb5da0d00d6cb7793905807b Mon Sep 17 00:00:00 2001 From: James Buren Date: Sat, 3 Aug 2024 22:23:11 -0500 Subject: [PATCH] Fix an implicit-fallthrough warning in CoolerMasterControllerDetect.cpp --- .../CoolerMasterController/CoolerMasterControllerDetect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Controllers/CoolerMasterController/CoolerMasterControllerDetect.cpp b/Controllers/CoolerMasterController/CoolerMasterControllerDetect.cpp index 133d4352..1cc1066a 100644 --- a/Controllers/CoolerMasterController/CoolerMasterControllerDetect.cpp +++ b/Controllers/CoolerMasterController/CoolerMasterControllerDetect.cpp @@ -150,7 +150,6 @@ void DetectCoolerMasterV1Keyboards(hid_device_info* info, const std::string& nam break; default: - LOG_DEBUG("[%s] Controller not created as the product ID %04X is missing from detector switch", name.c_str(), info->product_id); break; } @@ -194,6 +193,7 @@ void DetectCoolerMasterV2Keyboards(hid_device_info* info, const std::string& nam RGBController_CMKeyboardController* rgb_controller = new RGBController_CMKeyboardController(controller); ResourceManager::get()->RegisterRGBController(rgb_controller); } + break; default: LOG_DEBUG("[%s] Controller not created as the product ID %04X is missing from detector switch", name.c_str(), info->product_id);