Add Coverity define to avoid false positives during Static Code Analysis when TC_THROW_FATAL_EXCEPTION is used in the code

This commit is contained in:
Mounir IDRASSI 2015-03-08 20:12:40 +01:00
parent 279c99fdf8
commit ef196b5ca5

View File

@ -128,6 +128,11 @@ void ThrowFatalException (int line);
# define TC_THROW_FATAL_EXCEPTION *(char *) 0 = 0
#endif
#ifdef __COVERITY__
#undef TC_THROW_FATAL_EXCEPTION
#define TC_THROW_FATAL_EXCEPTION __coverity_panic__()
#endif
#ifdef TC_WINDOWS_DRIVER
#include <ntifs.h>