#7833 UB: member call on null pointer when --dumping configuration with unknown value
This commit is contained in:
parent
36d12d7866
commit
f66e7fb379
|
@ -3898,7 +3898,8 @@ void Tokenizer::dump(std::ostream &out) const
|
|||
out << " </tokenlist>" << std::endl;
|
||||
|
||||
_symbolDatabase->printXml(out);
|
||||
list.front()->printValueFlow(true, out);
|
||||
if (list.front())
|
||||
list.front()->printValueFlow(true, out);
|
||||
}
|
||||
|
||||
void Tokenizer::removeMacrosInGlobalScope()
|
||||
|
|
Loading…
Reference in New Issue