From b4fb25941a3d6f18b74006ff5fd69c2c48813193 Mon Sep 17 00:00:00 2001 From: Brad King Date: Mon, 28 May 2007 13:46:10 -0400 Subject: COMP: Fixed shadowed local warning. --- Source/cmGlobalXCodeGenerator.cxx | 6 +++--- 1 file 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 depends; - for(std::vector::iterator i = headersVec.begin(); - i != headersVec.end(); ++i) + for(std::vector::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); } } -- cgit v0.12