summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-06-01 15:18:23 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-06-01 15:18:23 (GMT)
commit8cd3eabee2c3c89543bbb3f3e0f3cdbcde2520be (patch)
tree31f2ca7bb8ea7400fbeaa23d90f69359f57636b1
parentcd97dc5f797b70e071c3a09d4e44a3e74d82f2cc (diff)
downloadCMake-8cd3eabee2c3c89543bbb3f3e0f3cdbcde2520be.zip
CMake-8cd3eabee2c3c89543bbb3f3e0f3cdbcde2520be.tar.gz
CMake-8cd3eabee2c3c89543bbb3f3e0f3cdbcde2520be.tar.bz2
COMP: fix warning
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index a6fe9d9..669b487 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/Source/cmGlobalUnixMakefileGenerator3.cxx
@@ -152,18 +152,6 @@ void cmGlobalUnixMakefileGenerator3::WriteMainMakefile()
for (i = 0; i < m_LocalGenerators.size(); ++i)
{
lg = static_cast<cmLocalUnixMakefileGenerator3 *>(m_LocalGenerators[i]);
- // are any parents excluded
- bool exclude = false;
- cmLocalGenerator *lg3 = lg;
- while (lg3)
- {
- if (lg3->GetExcludeAll())
- {
- exclude = true;
- break;
- }
- lg3 = lg3->GetParent();
- }
this->WriteConvenienceRules(makefileStream,lg,emittedTargets);
}