Commit a6e661b8 authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmMakefile: Rename variables.

parent fe38bb2c
......@@ -576,12 +576,12 @@ bool cmMakefile::ReadListFile(const char* listfile,
cmListFile cacheFile;
bool res = cacheFile.ParseFile(filenametoread.c_str(),
requireProjectCommand, this);
cmListFile listFile;
bool res = listFile.ParseFile(filenametoread.c_str(),
requireProjectCommand, this);
if (res)
this->ReadListFileInternal(cacheFile, filenametoread.c_str(),
this->ReadListFileInternal(listFile, filenametoread.c_str(),
......@@ -601,7 +601,7 @@ bool cmMakefile::ReadListFile(const char* listfile,
return res;
void cmMakefile::ReadListFileInternal(cmListFile const& cacheFile,
void cmMakefile::ReadListFileInternal(cmListFile const& listFile,
const char* filenametoread,
bool noPolicyScope)
......@@ -614,11 +614,11 @@ void cmMakefile::ReadListFileInternal(cmListFile const& cacheFile,
IncludeScope incScope(this, filenametoread, noPolicyScope);
// Run the parsed commands.
const size_t numberFunctions = cacheFile.Functions.size();
const size_t numberFunctions = listFile.Functions.size();
for(size_t i =0; i < numberFunctions; ++i)
cmExecutionStatus status;
// Exit early due to error.
......@@ -918,7 +918,7 @@ private:
bool noPolicyScope,
bool requireProjectCommand);
void ReadListFileInternal(cmListFile const& cacheFile,
void ReadListFileInternal(cmListFile const& listFile,
const char* filenametoread,
bool noPolicyScope);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment