Another fix for the crash
This commit is contained in:
parent
bcc7c5cd50
commit
33844b28ab
|
@ -469,7 +469,7 @@ void CheckCondition::duplicateCondition()
|
|||
}
|
||||
}
|
||||
if (tok3->varId() > 0 &&
|
||||
isVariableChanged(scope.classDef->next(), cond2, astIsPointer(tok3), tok3->varId(), false, mSettings, mTokenizer->isCPP())) {
|
||||
isVariableChanged(scope.classDef->next(), cond2, tok3->valueType() ? tok3->valueType()->pointer : 0, tok3->varId(), false, mSettings, mTokenizer->isCPP())) {
|
||||
modified = true;
|
||||
return ChildrenToVisit::done;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue