remove cast

This commit is contained in:
Daniel Marjamäki 2019-07-16 09:28:48 +02:00
parent 5a6b89100d
commit 7a4a9eba4b
1 changed files with 1 additions and 1 deletions

View File

@ -6623,7 +6623,7 @@ void Tokenizer::simplifyVarDecl(Token * tokBegin, const Token * const tokEnd, co
else if (std::strchr(";,", tok2->str()[0])) {
// "type var =" => "type var; var ="
const Token *varTok = type0->tokAt((int)typelen);
const Token *varTok = type0->tokAt(typelen);
while (Token::Match(varTok, "*|&|const"))
varTok = varTok->next();
if (!varTok)