mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Model lyx_exit() to tell coverity what it does
This commit is contained in:
parent
ad20dac17f
commit
db7054da9f
@ -10,10 +10,17 @@ void doAssertWithCallstack(bool value)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Tell coverity that this function always exits
|
||||
void doAppErr(char const * expr, char const * file, long line)
|
||||
{
|
||||
__coverity_panic__();
|
||||
}
|
||||
|
||||
|
||||
void lyx_exit(int exit_code)
|
||||
{
|
||||
__coverity_panic__();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user