COMP: Fixed shadowed variable warning.
This commit is contained in:
parent
b0a8c7bbce
commit
8f1413e247
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue