COMP: Fixed shadowed variable warning.

This commit is contained in:
Brad King 2006-01-14 10:27:04 -05:00
parent b0a8c7bbce
commit 8f1413e247
1 changed files with 4 additions and 4 deletions

View File

@ -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<cmLocalGenerator*>::iterator i = generators.begin();
i != generators.end(); ++i)
for(std::vector<cmLocalGenerator*>::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<cmSourceGroup> sourceGroups = mf->GetSourceGroups();
cmTargets &tgts = mf->GetTargets();
// Call TraceVSDependencies on all targets