diff options
Diffstat (limited to 'http')
-rw-r--r-- | http/routing.hpp | 2 | ||||
-rw-r--r-- | http/verb.hpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/http/routing.hpp b/http/routing.hpp index 562abaf06c..921bfe8dc0 100644 --- a/http/routing.hpp +++ b/http/routing.hpp @@ -319,7 +319,7 @@ class Trie case ParamType::PATH: BMCWEB_LOG_DEBUG("<path>"); break; - case ParamType::MAX: + default: BMCWEB_LOG_DEBUG("<ERROR>"); break; } diff --git a/http/verb.hpp b/http/verb.hpp index 5eacfbe567..5859d10b0d 100644 --- a/http/verb.hpp +++ b/http/verb.hpp @@ -67,7 +67,7 @@ inline std::string_view httpVerbToString(HttpVerb verb) return "PUT"; case HttpVerb::Options: return "OPTIONS"; - case HttpVerb::Max: + default: return ""; } |