COMP: Fixed shadowed variable warning.
This commit is contained in:
parent
b0a8c7bbce
commit
8f1413e247
|
@ -2116,14 +2116,14 @@ cmGlobalXCodeGenerator::OutputXCodeProject(cmLocalGenerator* root,
|
||||||
#if 1
|
#if 1
|
||||||
// TODO: This block should be moved to a central location for all
|
// TODO: This block should be moved to a central location for all
|
||||||
// generators. It is duplicated in every generator.
|
// generators. It is duplicated in every generator.
|
||||||
for(std::vector<cmLocalGenerator*>::iterator i = generators.begin();
|
for(std::vector<cmLocalGenerator*>::iterator g = generators.begin();
|
||||||
i != generators.end(); ++i)
|
g != generators.end(); ++g)
|
||||||
{
|
{
|
||||||
if(this->IsExcluded(root, *i))
|
if(this->IsExcluded(root, *g))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
cmMakefile* mf = (*i)->GetMakefile();
|
cmMakefile* mf = (*g)->GetMakefile();
|
||||||
std::vector<cmSourceGroup> sourceGroups = mf->GetSourceGroups();
|
std::vector<cmSourceGroup> sourceGroups = mf->GetSourceGroups();
|
||||||
cmTargets &tgts = mf->GetTargets();
|
cmTargets &tgts = mf->GetTargets();
|
||||||
// Call TraceVSDependencies on all targets
|
// Call TraceVSDependencies on all targets
|
||||||
|
|
Loading…
Reference in New Issue