diff --git a/src/template.cpp b/src/template.cpp index 78d6bed80..b157087f5 100644 --- a/src/template.cpp +++ b/src/template.cpp @@ -19,7 +19,7 @@ std::string template_t::render() const { try { return fmt::vformat(m_template, m_format_store); - } catch (fmt::format_error const &e) { + } catch (fmt::format_error const &) { log_error("Missing parameter for template: '{}'", m_template); throw; }