Decrease code nest level

This commit is contained in:
Ervin Hegedus 2025-08-11 22:28:22 +02:00
parent 12809656a6
commit 47bc24a808
No known key found for this signature in database
GPG Key ID: 5FA5BC3F5EC41F61

View File

@ -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);