COMP: Fix shadowed local warning by scoping the previous decl properly.
This commit is contained in:
parent
68ee26aa35
commit
782c5c270f
|
@ -1489,11 +1489,11 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
|
|||
std::string dirs;
|
||||
std::vector<std::string> includes;
|
||||
this->CurrentLocalGenerator->GetIncludeDirectories(includes);
|
||||
std::vector<std::string>::iterator i = includes.begin();
|
||||
std::string fdirs;
|
||||
std::set<cmStdString> emitted;
|
||||
emitted.insert("/System/Library/Frameworks");
|
||||
for(;i != includes.end(); ++i)
|
||||
for(std::vector<std::string>::iterator i = includes.begin();
|
||||
i != includes.end(); ++i)
|
||||
{
|
||||
if(cmSystemTools::IsPathToFramework(i->c_str()))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue