We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ef1b8d8 commit cb80837Copy full SHA for cb80837
src/audit_log/audit_log.cc
@@ -241,21 +241,6 @@ bool AuditLog::init(std::string *error) {
241
return false;
242
}
243
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
-
259
if (m_writer) {
260
delete m_writer;
261
0 commit comments