summaryrefslogtreecommitdiffstats
path: root/Source/cmCommandArgumentParserHelper.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-09-08 17:29:57 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-08 17:29:57 (GMT)
commit83acb0a4b22aa57d3c345320333b75301a99b2ba (patch)
tree5cc03d152ac713e5ebd1024dd50980104bb64648 /Source/cmCommandArgumentParserHelper.cxx
parent3801463c9f99fdbf0b1a115f5a5f55d211c08de1 (diff)
downloadCMake-83acb0a4b22aa57d3c345320333b75301a99b2ba.zip
CMake-83acb0a4b22aa57d3c345320333b75301a99b2ba.tar.gz
CMake-83acb0a4b22aa57d3c345320333b75301a99b2ba.tar.bz2
Remove now unused variables
Diffstat (limited to 'Source/cmCommandArgumentParserHelper.cxx')
-rw-r--r--Source/cmCommandArgumentParserHelper.cxx2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmCommandArgumentParserHelper.cxx b/Source/cmCommandArgumentParserHelper.cxx
index 54af13b..8b009e0 100644
--- a/Source/cmCommandArgumentParserHelper.cxx
+++ b/Source/cmCommandArgumentParserHelper.cxx
@@ -130,8 +130,6 @@ char* cmCommandArgumentParserHelper::ExpandVariable(const char* var)
// not been "cleared"/initialized with a set(foo ) call
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 ||
cmSystemTools::IsSubDirectory(this->FileName, this->Makefile->GetHomeDirectory()) ||
cmSystemTools::IsSubDirectory(this->FileName, this->Makefile->GetHomeOutputDirectory()))