diff --git a/lib/exprengine.cpp b/lib/exprengine.cpp index 73a288863..d980f8414 100644 --- a/lib/exprengine.cpp +++ b/lib/exprengine.cpp @@ -1592,7 +1592,7 @@ static ExprEngine::ValuePtr executeFunctionCall(const Token *tok, Data &data) execute(functionScope->bodyStart, functionScope->bodyEnd, data); } catch (BugHuntingException &e) { e.tok = tok; - throw e; + throw e; // cppcheck-suppress exceptRethrowCopy } data.errorPath.pop_back(); }