COMP: Fixed shadowed local warning.

This commit is contained in:
Brad King 2007-05-28 13:46:10 -04:00
parent 25db01d7c4
commit b4fb25941a

View File

@ -2067,11 +2067,11 @@ void cmGlobalXCodeGenerator::CreateGroups(cmLocalGenerator* root,
headersVec); headersVec);
cmCustomCommandLines commandLines; cmCustomCommandLines commandLines;
std::vector<std::string> depends; std::vector<std::string> depends;
for(std::vector<std::string>::iterator i = headersVec.begin(); for(std::vector<std::string>::iterator h = headersVec.begin();
i != headersVec.end(); ++i) h != headersVec.end(); ++i)
{ {
cmSourceFile* sf cmSourceFile* sf
= this->CurrentMakefile->GetOrCreateSource(i->c_str()); = this->CurrentMakefile->GetOrCreateSource(h->c_str());
classes.push_back(sf); classes.push_back(sf);
} }
} }