From 4a159ad66d3d102c6878e4dfdab51fcb89bc0b37 Mon Sep 17 00:00:00 2001 From: gabime Date: Thu, 12 Oct 2017 19:59:14 +0300 Subject: [PATCH] Fixed unused variable warning --- include/spdlog/details/pattern_formatter_impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/spdlog/details/pattern_formatter_impl.h b/include/spdlog/details/pattern_formatter_impl.h index bd546d08..50c19aa1 100644 --- a/include/spdlog/details/pattern_formatter_impl.h +++ b/include/spdlog/details/pattern_formatter_impl.h @@ -387,7 +387,7 @@ class pid_formatter SPDLOG_FINAL:public flag_formatter // message counter formatter class i_formatter SPDLOG_FINAL :public flag_formatter { - void format(details::log_msg& msg, const std::tm& tm_time) override + void format(details::log_msg& msg, const std::tm&) override { msg.formatted << fmt::pad(msg.msg_id, 6, '0'); }