This reduces the number of false positives returned by the
clang static analyser.
// Fatal error in the Fatal function.
// (This really shouldn't happen unless someone does something insanely stupid)
Fatal("Format string is NULL");
- return; // Should never get here
}
vsnprintf(buffer, BUFSIZ, fmt,va);
extern void LogEx(int level, const char * funct, const char * file, int line, ...); // General function for printing log messages to stderr
-extern void FatalEx(const char * funct, const char * file, int line, ...); // Function that deals with a fatal error (prints a message, then exits the program).
+extern void FatalEx(const char * funct, const char * file, int line, ...) __attribute__((__noreturn__)); // Function that deals with a fatal error (prints a message, then exits the program).
#endif //_LOG_H