Remove createdPath_ from Config.cpp/h, seems pretty useless.
This commit is contained in:
parent
1be11e8b4e
commit
c803e9fc58
2 changed files with 1 additions and 5 deletions
|
@ -1607,10 +1607,7 @@ const Path Config::FindConfigFile(const std::string &baseFilename) {
|
|||
if (!File::Exists(filename)) {
|
||||
// Make sure at least the directory it's supposed to be in exists.
|
||||
Path path = filename.NavigateUp();
|
||||
if (createdPath_ != path) {
|
||||
File::CreateFullPath(path);
|
||||
createdPath_ = path;
|
||||
}
|
||||
File::CreateFullPath(path);
|
||||
}
|
||||
return filename;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue