Fix Cppcheck warning
This commit is contained in:
parent
f516bde744
commit
c62e345340
|
@ -498,8 +498,7 @@ namespace {
|
|||
CWE cwe,
|
||||
bool inconclusive,
|
||||
bool incomplete,
|
||||
const std::string functionName) OVERRIDE
|
||||
|
||||
const std::string &functionName) OVERRIDE
|
||||
{
|
||||
if (errorPath.empty())
|
||||
mTrackExecution->addError(tok->linenr());
|
||||
|
|
|
@ -86,7 +86,7 @@ namespace ExprEngine {
|
|||
CWE cwe,
|
||||
bool inconclusive,
|
||||
bool incomplete=false,
|
||||
const std::string functionName = std::string()) = 0;
|
||||
const std::string &functionName = std::string()) = 0;
|
||||
ErrorPath errorPath;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue