cmMakefile: Remove intermediate variable.

This commit is contained in:
Stephen Kelly 2015-04-18 14:50:35 +02:00
parent 3a1ad1713f
commit e2d0e0fbeb
1 changed files with 1 additions and 3 deletions

View File

@ -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