From 8947306722ba6ac5760082d882b3bf99dcb84c43 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Fri, 3 Jan 2025 10:30:34 +0100 Subject: [PATCH] Fix unused variable --- src/template.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }