Remove redundant break
This commit is contained in:
parent
f705cdce72
commit
74417699db
|
@ -565,8 +565,6 @@ static void eraseNotLocalArg(std::map<unsigned int, const Token*>& container, co
|
|||
const Variable* var = symbolDatabase->getVariableFromVarId(i->first);
|
||||
if (!var || nonLocal(var)) {
|
||||
container.erase(i++);
|
||||
if (i == container.end())
|
||||
break;
|
||||
} else
|
||||
++i;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue