diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-26 21:58:19 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2005-02-26 21:58:19 (GMT) |
commit | 80c9a67845274bc88d8105ae0df42387102c4ccf (patch) | |
tree | 521efaf2880177cbe89afac54cdcce622b1af007 /Source/cmGlobalXCodeGenerator.cxx | |
parent | ca7c1219b59faf5c112794a275dd5bbddfde8559 (diff) | |
download | CMake-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.cxx | 7 |
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); |