Fixed CID 1361393, logically dead code in return statement

This commit is contained in:
Daniel Marjamäki 2017-09-02 10:49:29 +02:00
parent 4311d4192a
commit 9eed9adf3c
1 changed files with 0 additions and 3 deletions

View File

@ -98,9 +98,6 @@ Library::Error Library::load(const char exename[], const char path[])
if (error != tinyxml2::XML_ERROR_FILE_NOT_FOUND)
absolute_path = Path::getAbsoluteFilePath(filename);
}
if (error == tinyxml2::XML_ERROR_FILE_NOT_FOUND)
return Error(FILE_NOT_FOUND);
} else
absolute_path = Path::getAbsoluteFilePath(path);