summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-01-14 15:27:04 (GMT)
committerBrad King <brad.king@kitware.com>2006-01-14 15:27:04 (GMT)
commit8f1413e247af1a7fa9aa596ead8ef15946c9dfa0 (patch)
treef25ee80693439edc36580bfbc9c5870f60d51a08 /Source
parentb0a8c7bbcef0f4f0ad63fc16187e57005f29fd37 (diff)
downloadCMake-8f1413e247af1a7fa9aa596ead8ef15946c9dfa0.zip
CMake-8f1413e247af1a7fa9aa596ead8ef15946c9dfa0.tar.gz
CMake-8f1413e247af1a7fa9aa596ead8ef15946c9dfa0.tar.bz2
COMP: Fixed shadowed variable warning.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx8
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