Suppress exceptRethrowCopy false positive
This commit is contained in:
parent
8653c4b3a9
commit
b4443aa5a0
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue