summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-02-26 21:58:19 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-02-26 21:58:19 (GMT)
commit80c9a67845274bc88d8105ae0df42387102c4ccf (patch)
tree521efaf2880177cbe89afac54cdcce622b1af007 /Source/cmGlobalXCodeGenerator.cxx
parentca7c1219b59faf5c112794a275dd5bbddfde8559 (diff)
downloadCMake-80c9a67845274bc88d8105ae0df42387102c4ccf.zip
CMake-80c9a67845274bc88d8105ae0df42387102c4ccf.tar.gz
CMake-80c9a67845274bc88d8105ae0df42387102c4ccf.tar.bz2
COMP: remove some warnings
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 82e3524..17dab27 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1209,10 +1209,9 @@ void cmGlobalXCodeGenerator::AddDependAndLinkInformation(cmXCodeObject* target)
}
// write utility dependencies.
- std::set<cmStdString>::const_iterator i, end;
- i = cmtarget->GetUtilities().begin();
- end = cmtarget->GetUtilities().end();
- for(;i!= end; ++i)
+ for(std::set<cmStdString>::const_iterator i
+ = cmtarget->GetUtilities().begin();
+ i != cmtarget->GetUtilities().end(); ++i)
{
cmTarget* t = this->FindTarget(i->c_str());
cmXCodeObject* dptarget = this->FindXCodeTarget(t);