Fix CID 1360383

This commit is contained in:
Dmitry-Me 2017-09-06 00:12:09 +03:00
parent 58a64702b7
commit 35f5515931
1 changed files with 1 additions and 1 deletions

View File

@ -3883,7 +3883,7 @@ void Tokenizer::printDebugOutput(unsigned int simplification) const
std::cout << "</debug>" << std::endl;
}
if (simplification == 2U && _settings->debugwarnings) {
if (_symbolDatabase && simplification == 2U && _settings->debugwarnings) {
printUnknownTypes();
// the typeStartToken() should come before typeEndToken()