Fixed wrong variable being used in CheckOther::checkPassByReference()
This commit is contained in:
parent
9711064b74
commit
ad96f7b519
|
@ -1472,7 +1472,7 @@ void CheckOther::checkPassByReference()
|
|||
while (tok3 && tok3->str() != "(") {
|
||||
if (tok3->link() && Token::Match(tok3, ")|]|}|>"))
|
||||
tok3 = tok3->link();
|
||||
else if (tok->link())
|
||||
else if (tok3->link())
|
||||
break;
|
||||
else if (tok3->str() == ";")
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue