Minor refactoring, fixes FP from Coverity
This commit is contained in:
parent
6cc7f46696
commit
be998773ee
|
@ -1604,7 +1604,7 @@ bool Token::addValue(const ValueFlow::Value &value)
|
|||
}
|
||||
|
||||
// Add value
|
||||
if (it == values().end()) {
|
||||
if (it == _values->end()) {
|
||||
ValueFlow::Value v(value);
|
||||
if (v.varId == 0)
|
||||
v.varId = _varId;
|
||||
|
|
Loading…
Reference in New Issue