diff --git a/src/audit_log.cc b/src/audit_log.cc index 84ea6941..cd3050be 100644 --- a/src/audit_log.cc +++ b/src/audit_log.cc @@ -150,7 +150,7 @@ int AuditLog::removeParts(int parts, const std::string& new_parts) { bool AuditLog::setParts(const std::basic_string& new_parts) { - int parts = m_parts; + int parts = 0; PARTS_CONSTAINS('A', AAuditLogPart) PARTS_CONSTAINS('B', BAuditLogPart)