diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-04 13:47:24 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-04 16:31:03 (GMT) |
commit | 257c16495ae0653d8f3630c8d76e6496bc9edd86 (patch) | |
tree | f2b0fd95272ecbd691aa54ce8c4b64ea26f02fe4 | |
parent | fe17092c20c39761a060508fc6b1979b06e84afe (diff) | |
download | CMake-257c16495ae0653d8f3630c8d76e6496bc9edd86.zip CMake-257c16495ae0653d8f3630c8d76e6496bc9edd86.tar.gz CMake-257c16495ae0653d8f3630c8d76e6496bc9edd86.tar.bz2 |
cmListFile: Remove unused member.
It is written, but not read since commit v2.4.0~575 (ENH: Since list file
cache does not make much sense any more ..., 2006-02-07).
-rw-r--r-- | Source/cmListFileCache.cxx | 6 | ||||
-rw-r--r-- | Source/cmListFileCache.h | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/Source/cmListFileCache.cxx b/Source/cmListFileCache.cxx index 3e26349..ddcea9b 100644 --- a/Source/cmListFileCache.cxx +++ b/Source/cmListFileCache.cxx @@ -146,18 +146,12 @@ bool cmListFile::ParseFile(const char* filename, } bool parseError = false; - this->ModifiedTime = cmSystemTools::ModifiedTime(filename); { cmListFileParser parser(this, mf, filename); parseError = !parser.ParseFile(); } - if(parseError) - { - this->ModifiedTime = 0; - } - // do we need a cmake_policy(VERSION call? if(topLevel) { diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h index 2ca9b8e..544ff1b 100644 --- a/Source/cmListFileCache.h +++ b/Source/cmListFileCache.h @@ -85,15 +85,10 @@ class cmListFileBacktrace: public std::vector<cmListFileContext> struct cmListFile { - cmListFile() - :ModifiedTime(0) - { - } bool ParseFile(const char* path, bool topLevel, cmMakefile *mf); - long int ModifiedTime; std::vector<cmListFileFunction> Functions; }; |