Model lyx_exit() to tell coverity what it does

This commit is contained in:
Jean-Marc Lasgouttes 2017-03-31 16:51:02 +02:00
parent ad20dac17f
commit db7054da9f

View File

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