Merge pull request #695 from Dmitry-Me/explicitContinue
Explicit continue instead of fall through with a check
This commit is contained in:
commit
c22833342c
|
@ -3200,7 +3200,7 @@ bool Tokenizer::simplifySizeof()
|
||||||
tok2 = tok2->linkAt(1);
|
tok2 = tok2->linkAt(1);
|
||||||
}
|
}
|
||||||
if (Token::simpleMatch(tok2, "] ["))
|
if (Token::simpleMatch(tok2, "] ["))
|
||||||
sz = 0;
|
continue;
|
||||||
}
|
}
|
||||||
} else if (nametok->strAt(1) == "[" && nametok->isStandardType()) {
|
} else if (nametok->strAt(1) == "[" && nametok->isStandardType()) {
|
||||||
sz = sizeOfType(nametok);
|
sz = sizeOfType(nametok);
|
||||||
|
|
Loading…
Reference in New Issue