Cleanup dead variable (#3338)

This commit is contained in:
Shawn Zhong 2023-03-10 11:17:43 -06:00 committed by GitHub
parent 050293646f
commit cbc7b8d5c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -437,7 +437,6 @@ struct range_formatter<
detail::has_fallback_formatter<T, Char>>>::value>> {
private:
detail::range_formatter_type<Char, T> underlying_;
bool custom_specs_ = false;
basic_string_view<Char> separator_ = detail::string_literal<Char, ',', ' '>{};
basic_string_view<Char> opening_bracket_ =
detail::string_literal<Char, '['>{};
@ -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);