cmMakefile: Move variable definition above a condition.

This commit is contained in:
Stephen Kelly 2015-04-18 14:50:33 +02:00
parent 524ce89542
commit bdd4c5f5ba
1 changed files with 2 additions and 3 deletions

View File

@ -563,15 +563,14 @@ bool cmMakefile::ReadListFile(const char* filename_in,
}
}
const char *filenametoread = filename;
// keep track of the current file being read
if (filename)
{
this->cmCurrentListFile = filename;
}
// Now read the input file
const char *filenametoread= filename;
if(external_in)
{
filenametoread= external;