Cosmetics: fixed static analysis issues.

This commit is contained in:
Felipe Zimmerle
2020-01-15 20:35:59 -03:00
parent 1fc5847919
commit 86a5f471a9
21 changed files with 54 additions and 40 deletions

View File

@@ -75,7 +75,7 @@ inline std::string Parallel::logFilePath(time_t *t,
bool Parallel::init(std::string *error) {
bool ret = true;
bool ret;
if (!m_audit->m_path1.empty()) {
ret = utils::SharedFiles::getInstance().open(m_audit->m_path1, error);
if (!ret) {