From 8f1413e247af1a7fa9aa596ead8ef15946c9dfa0 Mon Sep 17 00:00:00 2001 From: Brad King Date: Sat, 14 Jan 2006 10:27:04 -0500 Subject: COMP: Fixed shadowed variable warning. --- Source/cmGlobalXCodeGenerator.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx index 5a41790..9a2af69 100644 --- a/Source/cmGlobalXCodeGenerator.cxx +++ b/Source/cmGlobalXCodeGenerator.cxx @@ -2116,14 +2116,14 @@ cmGlobalXCodeGenerator::OutputXCodeProject(cmLocalGenerator* root, #if 1 // TODO: This block should be moved to a central location for all // generators. It is duplicated in every generator. - for(std::vector::iterator i = generators.begin(); - i != generators.end(); ++i) + for(std::vector::iterator g = generators.begin(); + g != generators.end(); ++g) { - if(this->IsExcluded(root, *i)) + if(this->IsExcluded(root, *g)) { continue; } - cmMakefile* mf = (*i)->GetMakefile(); + cmMakefile* mf = (*g)->GetMakefile(); std::vector sourceGroups = mf->GetSourceGroups(); cmTargets &tgts = mf->GetTargets(); // Call TraceVSDependencies on all targets -- cgit v0.12