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).
This commit is contained in:
Stephen Kelly committed 2015-04-04 18:31:03 +02:00
1 parent fe17092c20
commit 257c16495a
2 files changed
-11

No files matched your search

-6
View File
@@ -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)
{
-5
View File
@@ -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;
};