Remove duplicate return statements.
This commit is contained in:
parent
5cc2e247bb
commit
443e846b2e
|
@ -1393,8 +1393,7 @@ CheckIO::ArgumentInfo::ArgumentInfo(const Token * tok, const Settings *settings)
|
|||
typeToken = typeToken->next();
|
||||
functionInfo = function;
|
||||
element = true;
|
||||
return;
|
||||
} else
|
||||
}
|
||||
return;
|
||||
}
|
||||
} else if (tok1->previous()->str() == ")" && tok1->linkAt(-1)->previous()->type() == Token::eFunction) {
|
||||
|
@ -1405,8 +1404,7 @@ CheckIO::ArgumentInfo::ArgumentInfo(const Token * tok, const Settings *settings)
|
|||
typeToken = typeToken->next();
|
||||
functionInfo = function;
|
||||
element = false;
|
||||
return;
|
||||
} else
|
||||
}
|
||||
return;
|
||||
} else
|
||||
varTok = tok1->previous();
|
||||
|
|
Loading…
Reference in New Issue