From cbc7b8d5c1a0a88671fa1497d9e09197fde334f2 Mon Sep 17 00:00:00 2001 From: Shawn Zhong Date: Fri, 10 Mar 2023 11:17:43 -0600 Subject: [PATCH] Cleanup dead variable (#3338) --- include/fmt/ranges.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/fmt/ranges.h b/include/fmt/ranges.h index ccffa645463b..c63b4f86cda0 100644 --- a/include/fmt/ranges.h +++ b/include/fmt/ranges.h @@ -437,7 +437,6 @@ struct range_formatter< detail::has_fallback_formatter>>::value>> { private: detail::range_formatter_type underlying_; - bool custom_specs_ = false; basic_string_view separator_ = detail::string_literal{}; basic_string_view opening_bracket_ = detail::string_literal{}; @@ -473,7 +472,6 @@ struct range_formatter< if (it != end && *it != '}') { if (*it != ':') FMT_THROW(format_error("invalid format specifier")); - custom_specs_ = true; ++it; } else { detail::maybe_set_debug_format(underlying_, true);