mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 03:11:59 +00:00
Remove unnecessary change.
This commit is contained in:
parent
03897206bb
commit
49f019e129
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user