Removed unused suppresion and avoid copy of logPath

This commit is contained in:
Eduardo Arias
2024-04-28 14:36:18 -03:00
parent 4aad8e0d06
commit 7a9c0ab15f
2 changed files with 1 additions and 2 deletions

View File

@@ -118,7 +118,7 @@ bool Parallel::write(Transaction *transaction, int parts, std::string *error) {
log = transaction->toOldAuditLogFormat(parts, "-" + boundary + "--");
}
std::string logPath = m_audit->m_storage_dir;
const auto &logPath = m_audit->m_storage_dir;
fileName = logPath + fileName + "-" + *transaction->m_id.get();
if (logPath.empty()) {