Fixed gcc warning: variable which shadows a member of 'this'.

This commit is contained in:
Edoardo Prezioso 2012-01-26 15:20:20 +01:00
parent b6a0896ce6
commit 20372eecfa
1 changed files with 2 additions and 2 deletions

View File

@ -1137,8 +1137,8 @@ private:
if (Token::simpleMatch(&tok, "try {")) {
// Bail out all used variables
const Token* tok2 = &tok;
const Token* end = tok.linkAt(1);
for (; tok2 && tok2 != end; tok2 = tok2->next()) {
const Token* endtok = tok.linkAt(1);
for (; tok2 && tok2 != endtok; tok2 = tok2->next()) {
if (tok2->varId())
bailOutVar(checks,tok2->varId());
}