--errorlist : don't show inconclusive messages in the output because those are disabled

This commit is contained in:
Daniel Marjamäki 2010-04-24 19:40:48 +02:00
parent a15e25f9fe
commit 5b99f2cef1
1 changed files with 2 additions and 0 deletions

View File

@ -101,6 +101,8 @@ protected:
std::list<const Token *> callstack;
if (tok)
callstack.push_back(tok);
else if (severity == Severity::possibleError || severity == Severity::possibleStyle)
return; // don't list inconclusive checks in the --errorlist output
reportError(callstack, severity, id, msg);
}