From cb80837e6a25bfc29125c07c3f60e023d180652a Mon Sep 17 00:00:00 2001 From: Martin Vierula Date: Sat, 8 Jan 2022 09:08:25 -0800 Subject: [PATCH] Remove old commented-out re: audit log, relevant --- src/audit_log/audit_log.cc | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/audit_log/audit_log.cc b/src/audit_log/audit_log.cc index 50213d5d..6dd1b494 100644 --- a/src/audit_log/audit_log.cc +++ b/src/audit_log/audit_log.cc @@ -241,21 +241,6 @@ bool AuditLog::init(std::string *error) { return false; } - /* Sanity check */ - if (m_status == RelevantOnlyAuditLogStatus) { - if (m_relevant.empty()) { - /* - error->assign("m_relevant cannot be null while status is set to " \ - "RelevantOnly"); - return false; - */ - // FIXME: this should be a warning. There is not point to - // have the logs on relevant only if nothing is relevant. - // - // Not returning an error to keep the compatibility with v2. - } - } - if (m_writer) { delete m_writer; }