summaryrefslogtreecommitdiff
path: root/redfish-core/lib
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-03-19 21:32:44 +0300
committerEd Tanous <ed@tanous.net>2024-04-01 19:37:05 +0300
commit4da0490bc07a458ad3fc7d586c7eabf6053c572f (patch)
treee2a22f818710b05bd9d89bac8c65cdfba492fefb /redfish-core/lib
parent93cf0ac2c7921d3344fa112f667c47a838e3b7d6 (diff)
downloadbmcweb-4da0490bc07a458ad3fc7d586c7eabf6053c572f.tar.xz
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>
Diffstat (limited to 'redfish-core/lib')
-rw-r--r--redfish-core/lib/sensors.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfish-core/lib/sensors.hpp b/redfish-core/lib/sensors.hpp
index 002ee3fbdb..8506185e8d 100644
--- a/redfish-core/lib/sensors.hpp
+++ b/redfish-core/lib/sensors.hpp
@@ -712,7 +712,7 @@ inline void setLedState(nlohmann::json& sensorJson,
case LedState::BLINK:
sensorJson["IndicatorLED"] = "Blinking";
break;
- case LedState::UNKNOWN:
+ default:
break;
}
}