diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-04-18 12:50:35 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-04-18 13:29:19 (GMT) |
commit | e2d0e0fbeb1bf7b43dc55ce55c6000819d108aee (patch) | |
tree | 982bd5c24d0e9af1ec46d96bd0bc31f6711cbeda /Source/cmMakefile.cxx | |
parent | 3a1ad1713f87ed7219c934dcb32c4d41573807c4 (diff) | |
download | CMake-e2d0e0fbeb1bf7b43dc55ce55c6000819d108aee.zip CMake-e2d0e0fbeb1bf7b43dc55ce55c6000819d108aee.tar.gz CMake-e2d0e0fbeb1bf7b43dc55ce55c6000819d108aee.tar.bz2 |
cmMakefile: Remove intermediate variable.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 037d697..eeba6aa 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -542,7 +542,6 @@ bool cmMakefile::ReadListFile(const char* filename_in, bool noPolicyScope, bool requireProjectCommand) { - const char* external = 0; std::string external_abs; const char* filenametoread = filename_in; @@ -569,9 +568,8 @@ bool cmMakefile::ReadListFile(const char* filename_in, external_abs = cmSystemTools::CollapseFullPath(external_in, this->cmStartDirectory.c_str()); - external = external_abs.c_str(); - filenametoread= external; + filenametoread = external_abs.c_str(); } std::string currentParentFile |