diff --git a/include/spdlog/fmt/bundled/core.h b/include/spdlog/fmt/bundled/core.h index e22b2ed7..0a81e0cc 100644 --- a/include/spdlog/fmt/bundled/core.h +++ b/include/spdlog/fmt/bundled/core.h @@ -1350,8 +1350,6 @@ FMT_CONSTEXPR_DECL FMT_INLINE auto visit_format_arg( return vis(arg.value_.pointer); case detail::type::custom_type: return vis(typename basic_format_arg::handle(arg.value_.custom)); - default: - break; } return vis(monostate()); } diff --git a/include/spdlog/fmt/bundled/format.h b/include/spdlog/fmt/bundled/format.h index 864c6bae..1a037b02 100644 --- a/include/spdlog/fmt/bundled/format.h +++ b/include/spdlog/fmt/bundled/format.h @@ -2814,8 +2814,6 @@ FMT_CONSTEXPR const Char* parse_align(const Char* begin, const Char* end, case '^': align = align::center; break; - default: - break; } if (align != align::none) { if (p != begin) { @@ -2899,8 +2897,6 @@ FMT_CONSTEXPR const Char* parse_format_specs(const Char* begin, const Char* end, handler.on_space(); ++begin; break; - default: - break; } if (begin == end) return begin;