COMP: fix warning
This commit is contained in:
parent
669311c369
commit
0080c2b9b5
@ -490,8 +490,8 @@ bool cmMakefile::ReadListFile(const char* filename_in,
|
|||||||
}
|
}
|
||||||
|
|
||||||
// loop over current function blockers and record them
|
// loop over current function blockers and record them
|
||||||
std::list<cmFunctionBlocker *>::iterator pos;
|
for (std::list<cmFunctionBlocker *>::iterator pos
|
||||||
for (pos = this->FunctionBlockers.begin();
|
= this->FunctionBlockers.begin();
|
||||||
pos != this->FunctionBlockers.end(); ++pos)
|
pos != this->FunctionBlockers.end(); ++pos)
|
||||||
{
|
{
|
||||||
originalBlockers.insert(*pos);
|
originalBlockers.insert(*pos);
|
||||||
@ -562,8 +562,8 @@ bool cmMakefile::ReadListFile(const char* filename_in,
|
|||||||
if (endScopeNicely)
|
if (endScopeNicely)
|
||||||
{
|
{
|
||||||
// loop over all function blockers to see if any block this command
|
// loop over all function blockers to see if any block this command
|
||||||
std::list<cmFunctionBlocker *>::iterator pos;
|
for (std::list<cmFunctionBlocker *>::iterator pos
|
||||||
for (pos = this->FunctionBlockers.begin();
|
= this->FunctionBlockers.begin();
|
||||||
pos != this->FunctionBlockers.end(); ++pos)
|
pos != this->FunctionBlockers.end(); ++pos)
|
||||||
{
|
{
|
||||||
// if this blocker was not in the original then send a
|
// if this blocker was not in the original then send a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user