diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-18 12:50:33 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-18 13:29:18 (GMT) |
commit | bdd4c5f5ba6d3bf60b4e3bc620b146784e1559f1 (patch) | |
tree | 8485670e44a36d8364d642f91d283c45f5cb687f /Source | |
parent | 524ce895427557312eef52d837f0afdb39a0dab6 (diff) | |
download | CMake-bdd4c5f5ba6d3bf60b4e3bc620b146784e1559f1.zip CMake-bdd4c5f5ba6d3bf60b4e3bc620b146784e1559f1.tar.gz CMake-bdd4c5f5ba6d3bf60b4e3bc620b146784e1559f1.tar.bz2 |
cmMakefile: Move variable definition above a condition.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmMakefile.cxx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index bb0b8cb..67138ba 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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; |