]> git.lyx.org Git - lyx.git/blobdiff - development/coverity_modeling.cpp
*UG - Add hint from users list
[lyx.git] / development / coverity_modeling.cpp
index baca85466adcde158ea2aafa1eb8cba83e5e48a1..1e1d315b6ca976a65dc980e49e18f20b5e71673f 100644 (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,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__();
+}
+
 }