[LyX/master] Remove unnecessary change.
Richard Kimberly Heck
rikiheck at lyx.org
Fri Dec 18 21:40:32 UTC 2020
commit 49f019e129cf6a63ec942cd863107459e3ffa321
Author: Richard Kimberly Heck <rikiheck at lyx.org>
Date: Fri Dec 18 17:11:05 2020 -0500
Remove unnecessary change.
---
src/VCBackend.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/VCBackend.cpp b/src/VCBackend.cpp
index 7f97455..f1f19b2 100644
--- a/src/VCBackend.cpp
+++ b/src/VCBackend.cpp
@@ -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();
}
More information about the lyx-cvs
mailing list