mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Improve coverity modeling
This tells coverity that these functions terminate the program.
This commit is contained in:
parent
f4c02d670b
commit
2ea95fa71b
@ -11,6 +11,12 @@ void doAssertWithCallstack(bool value)
|
||||
}
|
||||
|
||||
|
||||
void doAssertStatic(char const * expr, char const * file, long line)
|
||||
{
|
||||
__coverity_panic__();
|
||||
}
|
||||
|
||||
|
||||
// Tell coverity that this function always exits
|
||||
void doAppErr(char const * expr, char const * file, long line)
|
||||
{
|
||||
@ -23,4 +29,11 @@ void lyx_exit(int exit_code)
|
||||
__coverity_panic__();
|
||||
}
|
||||
|
||||
|
||||
void lyxbreaker(void const * data, const char * hint, int size)
|
||||
{
|
||||
__coverity_panic__();
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user