mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-24 18:43:37 +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
|
// Tell coverity that this function always exits
|
||||||
void doAppErr(char const * expr, char const * file, long line)
|
void doAppErr(char const * expr, char const * file, long line)
|
||||||
{
|
{
|
||||||
__coverity_panic__();
|
__coverity_panic__();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
void lyx_exit(int exit_code)
|
||||||
|
{
|
||||||
|
__coverity_panic__();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user