diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 00cc9d788..f7b418bab 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -3877,7 +3877,8 @@ void Tokenizer::printDebugOutput() const _symbolDatabase->printOut("Symbol database"); } - list.front()->printAst(_settings->_verbose, _settings->_xml, std::cout); + if (_settings->_verbose) + list.front()->printAst(_settings->_verbose, _settings->_xml, std::cout); list.front()->printValueFlow(_settings->_xml, std::cout);