commit | 4da0490bc07a458ad3fc7d586c7eabf6053c572f | [log] [tgz] |
---|---|---|
author | Ed Tanous <ed@tanous.net> | Tue Mar 19 11:32:44 2024 -0700 |
committer | Ed Tanous <ed@tanous.net> | Mon Apr 01 16:37:05 2024 +0000 |
tree | e2a22f818710b05bd9d89bac8c65cdfba492fefb | |
parent | 93cf0ac2c7921d3344fa112f667c47a838e3b7d6 [diff] [blame] |
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/http/routing.hpp b/http/routing.hpp index 562abaf..921bfe8 100644 --- a/http/routing.hpp +++ b/http/routing.hpp
@@ -319,7 +319,7 @@ case ParamType::PATH: BMCWEB_LOG_DEBUG("<path>"); break; - case ParamType::MAX: + default: BMCWEB_LOG_DEBUG("<ERROR>"); break; }