From b4443aa5a07331b4a62914fda75580752ab18295 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Fri, 19 Jun 2020 18:15:04 +0200 Subject: [PATCH] Suppress exceptRethrowCopy false positive --- lib/exprengine.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); }