From 8cd3eabee2c3c89543bbb3f3e0f3cdbcde2520be Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Wed, 1 Jun 2005 11:18:23 -0400 Subject: [PATCH] COMP: fix warning --- Source/cmGlobalUnixMakefileGenerator3.cxx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index a6fe9d91b..669b48791 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(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); }