Remove redundant break

This commit is contained in:
Dmitry-Me 2015-03-06 18:55:47 +01:00 committed by Daniel Marjamäki
parent f705cdce72
commit 74417699db
1 changed files with 0 additions and 2 deletions

View File

@ -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;
}