diff options
author | Brad King <brad.king@kitware.com> | 2006-01-14 15:27:04 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-01-14 15:27:04 (GMT) |
commit | 8f1413e247af1a7fa9aa596ead8ef15946c9dfa0 (patch) | |
tree | f25ee80693439edc36580bfbc9c5870f60d51a08 /Source/cmGlobalXCodeGenerator.cxx | |
parent | b0a8c7bbcef0f4f0ad63fc16187e57005f29fd37 (diff) | |
download | CMake-8f1413e247af1a7fa9aa596ead8ef15946c9dfa0.zip CMake-8f1413e247af1a7fa9aa596ead8ef15946c9dfa0.tar.gz CMake-8f1413e247af1a7fa9aa596ead8ef15946c9dfa0.tar.bz2 |
COMP: Fixed shadowed variable warning.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r-- | Source/cmGlobalXCodeGenerator.cxx | 8 |
1 files 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<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 |