ValueFlow::setTokenValue: Fix typo
This commit is contained in:
parent
a688402617
commit
9a294496c1
|
@ -257,7 +257,7 @@ static void setTokenValue(Token* tok, const ValueFlow::Value &value, const Setti
|
||||||
return;
|
return;
|
||||||
|
|
||||||
// Don't set parent for uninitialized values
|
// Don't set parent for uninitialized values
|
||||||
if (value.isUninit())
|
if (value.isUninitValue())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
Token *parent = const_cast<Token*>(tok->astParent());
|
Token *parent = const_cast<Token*>(tok->astParent());
|
||||||
|
|
Loading…
Reference in New Issue