Skip to content

Commit

Permalink
Cleanup dead variable (#3338)
Browse files Browse the repository at this point in the history
  • Loading branch information
ShawnZhong authored Mar 10, 2023
1 parent 0502936 commit cbc7b8d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/fmt/ranges.h
Original file line number Diff line number Diff line change
Expand Up @@ -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, '['>{};
Expand Down Expand Up @@ -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);
Expand Down

0 comments on commit cbc7b8d

Please sign in to comment.