Skip to content

Commit

Permalink
Fix unused variable
Browse files Browse the repository at this point in the history
  • Loading branch information
joto committed Jan 3, 2025
1 parent 64232c5 commit 8947306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/template.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8947306

Please sign in to comment.