Fix Cppcheck warning
This commit is contained in:
parent
208e2c7fdf
commit
27fc5f1a2f
|
@ -2530,8 +2530,10 @@ void ExprEngine::runChecks(ErrorLogger *errorLogger, const Tokenizer *tokenizer,
|
|||
|
||||
static void dumpRecursive(ExprEngine::ValuePtr val)
|
||||
{
|
||||
if (!val)
|
||||
if (!val) {
|
||||
std::cout << "NULL";
|
||||
return;
|
||||
}
|
||||
switch (val->type) {
|
||||
case ExprEngine::ValueType::AddressOfValue:
|
||||
std::cout << "AddressOfValue(" << std::dynamic_pointer_cast<ExprEngine::AddressOfValue>(val)->varId << ")";
|
||||
|
|
Loading…
Reference in New Issue