Avoid warning about unreferenced variable

This commit is contained in:
Martchus 2023-06-08 12:33:11 +02:00
parent dd936b4a81
commit bca1e1bda5
1 changed files with 1 additions and 1 deletions

View File

@ -658,7 +658,7 @@ void Application::printLog(const std::vector<SyncthingLogEntry> &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';