parent
0e15fd3140
commit
50c6af5e5d
|
@ -1330,7 +1330,7 @@ void CheckUninitVar::valueFlowUninit()
|
|||
continue;
|
||||
uninitvarError(tok, tok->str(), v->errorPath);
|
||||
const Token * nextTok = tok;
|
||||
while(Token::simpleMatch(nextTok->astParent(), "."))
|
||||
while (Token::simpleMatch(nextTok->astParent(), "."))
|
||||
nextTok = nextTok->astParent();
|
||||
nextTok = nextAfterAstRightmostLeaf(nextTok);
|
||||
tok = nextTok ? nextTok : tok;
|
||||
|
|
Loading…
Reference in New Issue