mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 11:16:33 +03:00
Decrease code nest level
This commit is contained in:
@@ -49,7 +49,9 @@ bool PmFromFile::init(const std::string &config, std::string *error) {
|
||||
std::vector<std::string> tokens = split(m_param, ' ');
|
||||
|
||||
for (const auto& token : tokens) {
|
||||
if (! token.empty()) {
|
||||
if (token.empty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
std::unique_ptr<std::istream> iss;
|
||||
|
||||
@@ -77,7 +79,6 @@ bool PmFromFile::init(const std::string &config, std::string *error) {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
while (m_p->is_failtree_done == 0) {
|
||||
acmp_prepare(m_p);
|
||||
|
Reference in New Issue
Block a user