fix cppcheck warnings
This commit is contained in:
parent
9ff3e85899
commit
eeee630f77
|
@ -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*
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue