Add asserts() to avoid static analyzer false positives.

This commit is contained in:
Todd C. Miller
2019-08-30 11:13:35 -06:00
parent 679cd38238
commit ffaef7939a
2 changed files with 17 additions and 0 deletions

View File

@@ -45,6 +45,11 @@
# include <priv.h>
#endif
/* Enable asserts() to avoid static analyzer false positives. */
#if !defined(SUDO_DEVEL) && !defined(__clang_analyzer__)
# define NDEBUG
#endif
#ifdef __TANDEM
# define ROOT_UID 65535
#else