mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
cmMakefile: Move variable definition above a condition.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user