From 38b35feaa881596b38cbcc4483616a67ed1d6d49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Tue, 14 Sep 2010 20:59:09 +0200 Subject: [PATCH] Tokenizer: the 'failed to parse typedef' messages should not be shown unless --debug-warnings are given --- lib/tokenize.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/tokenize.cpp b/lib/tokenize.cpp index 9091f4205..806936c89 100644 --- a/lib/tokenize.cpp +++ b/lib/tokenize.cpp @@ -637,14 +637,11 @@ bool Tokenizer::duplicateTypedef(Token **tokPtr, const Token *name) void Tokenizer::unsupportedTypedef(const Token *tok) const { -// ###### The ifdef will be removed soon - the message will only be shown if --debug-warnings are given. ####### -#ifdef NDEBUG if (!_settings) return; if (!_settings->debugwarnings) return; -#endif std::ostringstream str; const Token *tok1 = tok;