mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-25 06:21:00 +00:00
Fix a warning
This commit is contained in:
parent
39bc319b35
commit
5a8ae0bb05
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user