diff options
author | Brad King <brad.king@kitware.com> | 2007-05-28 17:46:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-05-28 17:46:10 (GMT) |
commit | b4fb25941a3d6f18b74006ff5fd69c2c48813193 (patch) | |
tree | 4778d015b2cb638f1c26a94bbfd3db8def039ba9 /Source/cmGlobalXCodeGenerator.cxx | |
parent | 25db01d7c40199e82f84e87018bef53f62c3f9c8 (diff) | |
download | CMake-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.cxx | 6 |
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); } } |