Correct cleaning string and remove unused vars
This commit is contained in:
parent
89dab444c4
commit
fec708489a
32 changed files with 38 additions and 48 deletions
|
@ -60,7 +60,7 @@ FileLoader *ConstructFileLoader(const Path &filename) {
|
|||
|
||||
// TODO : improve, look in the file more
|
||||
IdentifiedFileType Identify_File(FileLoader *fileLoader, std::string *errorString) {
|
||||
*errorString = "";
|
||||
(*errorString).clear();
|
||||
if (fileLoader == nullptr) {
|
||||
*errorString = "Invalid fileLoader";
|
||||
return IdentifiedFileType::ERROR_IDENTIFYING;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue