mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Decrease code nest level
This commit is contained in:
parent
12809656a6
commit
47bc24a808
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user