diff options
-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 |