Cosmetics: Reduce the coding style warnings

This commit is contained in:
Felipe Zimmerle
2016-03-21 15:32:02 -03:00
parent c43391072c
commit 214cc15785
7 changed files with 22 additions and 25 deletions

View File

@@ -515,7 +515,8 @@ bool Rule::evaluate(Transaction *trasn) {
}
}
if ((!m_log_message.empty() || !m_log_data.empty()) && !ruleMessage->m_match.empty()) {
if ((!m_log_message.empty() || !m_log_data.empty())
&& !ruleMessage->m_match.empty()) {
ruleMessage->m_data = m_log_data;
trasn->m_rulesMessages.push_back(ruleMessage);
} else {