mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Tell coverity that LAPPERR kills LyX too.
This commit is contained in:
parent
08561eba3f
commit
21ecd4528a
@ -2,7 +2,7 @@
|
||||
|
||||
namespace lyx {
|
||||
|
||||
// Tell coverity that this function always exits
|
||||
// Tell coverity that this function exits when value is false
|
||||
void doAssertWithCallstack(bool value)
|
||||
{
|
||||
if (!value) {
|
||||
@ -10,4 +10,10 @@ void doAssertWithCallstack(bool value)
|
||||
}
|
||||
}
|
||||
|
||||
// Tell coverity that this function always exits
|
||||
void doAppErr(char const * expr, char const * file, long line)
|
||||
{
|
||||
__coverity_panic__();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user