summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-04-18 12:50:34 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-04-18 13:29:18 (GMT)
commit2d6121a9a709e319cca733787bcc21bac593a232 (patch)
tree2925450888c0fd2339278f7bc44cdd5f29a358a4 /Source
parentbdd4c5f5ba6d3bf60b4e3bc620b146784e1559f1 (diff)
downloadCMake-2d6121a9a709e319cca733787bcc21bac593a232.zip
CMake-2d6121a9a709e319cca733787bcc21bac593a232.tar.gz
CMake-2d6121a9a709e319cca733787bcc21bac593a232.tar.bz2
cmMakefile: Remove use of intermediate variable.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 67138ba..46a10a9 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -566,9 +566,9 @@ bool cmMakefile::ReadListFile(const char* filename_in,
const char *filenametoread = filename;
// keep track of the current file being read
- if (filename)
+ if (filenametoread)
{
- this->cmCurrentListFile = filename;
+ this->cmCurrentListFile = filenametoread;
}
if(external_in)