Suppress exceptRethrowCopy false positive

This commit is contained in:
Daniel Marjamäki 2020-06-19 18:15:04 +02:00
parent 8653c4b3a9
commit b4443aa5a0
1 changed files with 1 additions and 1 deletions

View File

@ -1592,7 +1592,7 @@ static ExprEngine::ValuePtr executeFunctionCall(const Token *tok, Data &data)
execute(functionScope->bodyStart, functionScope->bodyEnd, data); execute(functionScope->bodyStart, functionScope->bodyEnd, data);
} catch (BugHuntingException &e) { } catch (BugHuntingException &e) {
e.tok = tok; e.tok = tok;
throw e; throw e; // cppcheck-suppress exceptRethrowCopy
} }
data.errorPath.pop_back(); data.errorPath.pop_back();
} }