Fix a warning

This commit is contained in:
Victor Zverovich 2017-09-13 08:36:06 -07:00
parent 39bc319b35
commit 5a8ae0bb05

View File

@ -242,7 +242,6 @@ class printf_arg_formatter : public internal::arg_formatter_base<Char> {
/** Formats a character. */ /** Formats a character. */
void operator()(Char value) { void operator()(Char value) {
format_specs &fmt_spec = this->spec(); format_specs &fmt_spec = this->spec();
basic_writer<Char> &w = this->writer();
if (fmt_spec.type_ && fmt_spec.type_ != 'c') if (fmt_spec.type_ && fmt_spec.type_ != 'c')
return (*this)(static_cast<int>(value)); return (*this)(static_cast<int>(value));
fmt_spec.flags_ = 0; fmt_spec.flags_ = 0;