diff --git a/lib/exprengine.cpp b/lib/exprengine.cpp index 2139190b2..f911bea59 100644 --- a/lib/exprengine.cpp +++ b/lib/exprengine.cpp @@ -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(val)->varId << ")";