Skip to content

Commit cb80837

Browse files
committed
Remove old commented-out re: audit log, relevant
1 parent ef1b8d8 commit cb80837

File tree

1 file changed

+0
-15
lines changed

1 file changed

+0
-15
lines changed

src/audit_log/audit_log.cc

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -241,21 +241,6 @@ bool AuditLog::init(std::string *error) {
241241
return false;
242242
}
243243

244-
/* Sanity check */
245-
if (m_status == RelevantOnlyAuditLogStatus) {
246-
if (m_relevant.empty()) {
247-
/*
248-
error->assign("m_relevant cannot be null while status is set to " \
249-
"RelevantOnly");
250-
return false;
251-
*/
252-
// FIXME: this should be a warning. There is not point to
253-
// have the logs on relevant only if nothing is relevant.
254-
//
255-
// Not returning an error to keep the compatibility with v2.
256-
}
257-
}
258-
259244
if (m_writer) {
260245
delete m_writer;
261246
}

0 commit comments

Comments
 (0)