summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 18:22:10 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2005-12-30 18:22:10 (GMT)
commit2804a0d7dbaecd9571d672b3b1ac030c89bfb6d6 (patch)
treec887b4ae0ff1a9bbddfc3b8e8f13e7cc3a1b1d58 /Source/cmGlobalXCodeGenerator.cxx
parent081625c6102b8e0e3b9e7a69253650fc1ff5ea4e (diff)
downloadCMake-2804a0d7dbaecd9571d672b3b1ac030c89bfb6d6.zip
CMake-2804a0d7dbaecd9571d672b3b1ac030c89bfb6d6.tar.gz
CMake-2804a0d7dbaecd9571d672b3b1ac030c89bfb6d6.tar.bz2
COMP: Remove shadow variable warning
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index fc37952..e4754b3 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1198,12 +1198,12 @@ void cmGlobalXCodeGenerator::CreateBuildSettings(cmTarget& target,
std::vector<std::string>& frameworks = target.GetFrameworks();
if(frameworks.size())
{
- for(std::vector<std::string>::iterator i = frameworks.begin();
- i != frameworks.end(); ++i)
+ for(std::vector<std::string>::iterator fmIt = frameworks.begin();
+ fmIt != frameworks.end(); ++fmIt)
{
- if(emitted.insert(*i).second)
+ if(emitted.insert(*fmIt).second)
{
- fdirs += this->XCodeEscapePath(i->c_str());
+ fdirs += this->XCodeEscapePath(fmIt->c_str());
fdirs += " ";
}
}