Use no-switch-default on clang
clang-18 improves this check so that we can actually use it. Enable it
and fix all violations.
Change-Id: Ibe4ce19c423d447a4cbe593d1abba948362426af
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/redfish-core/lib/sensors.hpp b/redfish-core/lib/sensors.hpp
index 002ee3f..8506185 100644
--- a/redfish-core/lib/sensors.hpp
+++ b/redfish-core/lib/sensors.hpp
@@ -712,7 +712,7 @@
case LedState::BLINK:
sensorJson["IndicatorLED"] = "Blinking";
break;
- case LedState::UNKNOWN:
+ default:
break;
}
}