Remove now unused variables
This commit is contained in:
parent
3801463c9f
commit
83acb0a4b2
|
@ -130,8 +130,6 @@ char* cmCommandArgumentParserHelper::ExpandVariable(const char* var)
|
||||||
// not been "cleared"/initialized with a set(foo ) call
|
// not been "cleared"/initialized with a set(foo ) call
|
||||||
if(this->WarnUninitialized && !this->Makefile->VariableInitialized(var))
|
if(this->WarnUninitialized && !this->Makefile->VariableInitialized(var))
|
||||||
{
|
{
|
||||||
const char* srcRoot = this->Makefile->GetDefinition("CMAKE_SOURCE_DIR");
|
|
||||||
const char* binRoot = this->Makefile->GetDefinition("CMAKE_BINARY_DIR");
|
|
||||||
if (this->CheckSystemVars ||
|
if (this->CheckSystemVars ||
|
||||||
cmSystemTools::IsSubDirectory(this->FileName, this->Makefile->GetHomeDirectory()) ||
|
cmSystemTools::IsSubDirectory(this->FileName, this->Makefile->GetHomeDirectory()) ||
|
||||||
cmSystemTools::IsSubDirectory(this->FileName, this->Makefile->GetHomeOutputDirectory()))
|
cmSystemTools::IsSubDirectory(this->FileName, this->Makefile->GetHomeOutputDirectory()))
|
||||||
|
|
Loading…
Reference in New Issue