mirror of
https://github.com/veracrypt/VeraCrypt
synced 2024-11-27 21:43:29 +01:00
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:
parent
279c99fdf8
commit
ef196b5ca5
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user