diff --git a/fmt/printf.h b/fmt/printf.h index 8c2095a3..ac4b33de 100644 --- a/fmt/printf.h +++ b/fmt/printf.h @@ -242,7 +242,6 @@ class printf_arg_formatter : public internal::arg_formatter_base { /** Formats a character. */ void operator()(Char value) { format_specs &fmt_spec = this->spec(); - basic_writer &w = this->writer(); if (fmt_spec.type_ && fmt_spec.type_ != 'c') return (*this)(static_cast(value)); fmt_spec.flags_ = 0;