From bca1e1bda5e66528796d6d0d5bcb5836c6dfdf1a Mon Sep 17 00:00:00 2001 From: Martchus Date: Thu, 8 Jun 2023 12:33:11 +0200 Subject: [PATCH] Avoid warning about unreferenced variable --- cli/application.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/application.cpp b/cli/application.cpp index 0a156c5..e291039 100644 --- a/cli/application.cpp +++ b/cli/application.cpp @@ -658,7 +658,7 @@ void Application::printLog(const std::vector &logEntries) const auto when = entry.when.toUtf8(); try { cout << DateTime::fromIsoStringLocal(when.data()).toString(DateTimeOutputFormat::DateAndTime, true); - } catch (const ConversionException &e) { + } catch (const ConversionException &) { cout << when.data(); } cout << ':' << ' ' << entry.message.toLocal8Bit().data() << '\n';