Remove unnecessary change.

This commit is contained in:
Richard Kimberly Heck 2020-12-18 17:11:05 -05:00
parent 03897206bb
commit 49f019e129

View File

@ -107,7 +107,6 @@ bool VCS::makeRCSRevision(string const &version, string &revis) const
FileName VCS::checkParentDirs(FileName const & start, std::string const & file)
{
static FileName empty;
FileName dirname = start.onlyPath();
do {
FileName tocheck = FileName(addPathName(dirname.absFileName(), file));
@ -117,7 +116,7 @@ FileName VCS::checkParentDirs(FileName const & start, std::string const & file)
// this construct because of #8295
dirname = FileName(dirname.absFileName()).parentPath();
} while (!dirname.empty());
return empty;
return FileName();
}