From 4da0490bc07a458ad3fc7d586c7eabf6053c572f Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 19 Mar 2024 11:32:44 -0700 Subject: 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 --- src/json_html_serializer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/json_html_serializer.cpp b/src/json_html_serializer.cpp index 5473b1d094..3e0e5f8e41 100644 --- a/src/json_html_serializer.cpp +++ b/src/json_html_serializer.cpp @@ -539,7 +539,7 @@ static void dump(std::string& out, const nlohmann::json& val) out += "null"; return; } - case nlohmann::json::value_t::binary: + default: { // Do nothing; Should never happen. return; -- cgit v1.2.3