]> git.lyx.org Git - features.git/commitdiff
Model lyx_exit() to tell coverity what it does
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 31 Mar 2017 14:51:02 +0000 (16:51 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 31 Mar 2017 14:51:02 +0000 (16:51 +0200)
development/coverity_modeling.cpp

index 14382abfd0925f32f7d08e9fcf704205bbfeae75..1e1d315b6ca976a65dc980e49e18f20b5e71673f 100644 (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__();
+}
+
 }