From 5a8ae0bb0545d5fe4edcc53269c53287aeb28587 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Wed, 13 Sep 2017 08:36:06 -0700 Subject: [PATCH] Fix a warning --- fmt/printf.h | 1 - 1 file changed, 1 deletion(-) 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;