Tell coverity that LAPPERR kills LyX too.

This commit is contained in:
Jean-Marc Lasgouttes 2017-03-31 11:31:44 +02:00
parent 08561eba3f
commit 21ecd4528a

View File

@ -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__();
}
}