summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-05-28 17:46:10 (GMT)
committerBrad King <brad.king@kitware.com>2007-05-28 17:46:10 (GMT)
commitb4fb25941a3d6f18b74006ff5fd69c2c48813193 (patch)
tree4778d015b2cb638f1c26a94bbfd3db8def039ba9 /Source/cmGlobalXCodeGenerator.cxx
parent25db01d7c40199e82f84e87018bef53f62c3f9c8 (diff)
downloadCMake-b4fb25941a3d6f18b74006ff5fd69c2c48813193.zip
CMake-b4fb25941a3d6f18b74006ff5fd69c2c48813193.tar.gz
CMake-b4fb25941a3d6f18b74006ff5fd69c2c48813193.tar.bz2
COMP: Fixed shadowed local warning.
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 3354e59..ee5ff4a 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -2067,11 +2067,11 @@ void cmGlobalXCodeGenerator::CreateGroups(cmLocalGenerator* root,
headersVec);
cmCustomCommandLines commandLines;
std::vector<std::string> depends;
- for(std::vector<std::string>::iterator i = headersVec.begin();
- i != headersVec.end(); ++i)
+ for(std::vector<std::string>::iterator h = headersVec.begin();
+ h != headersVec.end(); ++i)
{
cmSourceFile* sf
- = this->CurrentMakefile->GetOrCreateSource(i->c_str());
+ = this->CurrentMakefile->GetOrCreateSource(h->c_str());
classes.push_back(sf);
}
}