fix cppcheck warnings

This commit is contained in:
Daniel Marjamäki 2016-10-29 12:35:14 +02:00
parent 9ff3e85899
commit eeee630f77
2 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@ passedByValue:lib/symboldatabase.h
passedByValue:lib/library.h
knownConditionTrueFalse:lib/platform.cpp
knownConditionTrueFalse:build/*
useInitializationList:lib/errorlogger.cpp
*:gui/test*
*:test/test.cxx
*:test/cfg*

View File

@ -216,7 +216,7 @@ public:
ErrorMessage(const std::list<const Token*>& callstack, const TokenList* list, Severity::SeverityType severity, const std::string& id, const std::string& msg, bool inconclusive);
ErrorMessage(const std::list<const Token*>& callstack, const TokenList* list, Severity::SeverityType severity, const std::string& id, const std::string& msg, const CWE &cwe, bool inconclusive);
ErrorMessage();
ErrorMessage(const tinyxml2::XMLElement * const errmsg);
explicit ErrorMessage(const tinyxml2::XMLElement * const errmsg);
/**
* Format the error message in XML format