Fixed CID 1361393, logically dead code in return statement
This commit is contained in:
parent
4311d4192a
commit
9eed9adf3c
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue