diff --git a/include/spdlog/pattern_formatter-inl.h b/include/spdlog/pattern_formatter-inl.h index 19d19e29..f18b0d16 100644 --- a/include/spdlog/pattern_formatter-inl.h +++ b/include/spdlog/pattern_formatter-inl.h @@ -1368,7 +1368,6 @@ SPDLOG_INLINE details::padding_info pattern_formatter::handle_padspec_(std::stri { truncate = false; } - return details::padding_info{std::min(width, max_width), side, truncate}; }