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 2015-04-04 15:47:24 +02:00
parent fe17092c20
commit 257c16495a
2 changed files with 0 additions and 11 deletions

View File

@ -146,18 +146,12 @@ bool cmListFile::ParseFile(const char* filename,
} }
bool parseError = false; bool parseError = false;
this->ModifiedTime = cmSystemTools::ModifiedTime(filename);
{ {
cmListFileParser parser(this, mf, filename); cmListFileParser parser(this, mf, filename);
parseError = !parser.ParseFile(); parseError = !parser.ParseFile();
} }
if(parseError)
{
this->ModifiedTime = 0;
}
// do we need a cmake_policy(VERSION call? // do we need a cmake_policy(VERSION call?
if(topLevel) if(topLevel)
{ {

View File

@ -85,15 +85,10 @@ class cmListFileBacktrace: public std::vector<cmListFileContext>
struct cmListFile struct cmListFile
{ {
cmListFile()
:ModifiedTime(0)
{
}
bool ParseFile(const char* path, bool ParseFile(const char* path,
bool topLevel, bool topLevel,
cmMakefile *mf); cmMakefile *mf);
long int ModifiedTime;
std::vector<cmListFileFunction> Functions; std::vector<cmListFileFunction> Functions;
}; };