summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2008-06-02 13:39:13 (GMT)
committerKen Martin <ken.martin@kitware.com>2008-06-02 13:39:13 (GMT)
commit0080c2b9b545db79971944e4c974bf0541d43824 (patch)
tree51a7fb8fb68abd2261dcffae706c7ed4194409a4 /Source
parent669311c3693c683f0347d554079be1f2c795a521 (diff)
downloadCMake-0080c2b9b545db79971944e4c974bf0541d43824.zip
CMake-0080c2b9b545db79971944e4c974bf0541d43824.tar.gz
CMake-0080c2b9b545db79971944e4c974bf0541d43824.tar.bz2
COMP: fix warning
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index bdf3e64..a5448a7 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -490,8 +490,8 @@ bool cmMakefile::ReadListFile(const char* filename_in,
}
// loop over current function blockers and record them
- std::list<cmFunctionBlocker *>::iterator pos;
- for (pos = this->FunctionBlockers.begin();
+ for (std::list<cmFunctionBlocker *>::iterator pos
+ = this->FunctionBlockers.begin();
pos != this->FunctionBlockers.end(); ++pos)
{
originalBlockers.insert(*pos);
@@ -562,8 +562,8 @@ bool cmMakefile::ReadListFile(const char* filename_in,
if (endScopeNicely)
{
// loop over all function blockers to see if any block this command
- std::list<cmFunctionBlocker *>::iterator pos;
- for (pos = this->FunctionBlockers.begin();
+ for (std::list<cmFunctionBlocker *>::iterator pos
+ = this->FunctionBlockers.begin();
pos != this->FunctionBlockers.end(); ++pos)
{
// if this blocker was not in the original then send a