diff options
-rw-r--r-- | src/common/nullpo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/nullpo.h b/src/common/nullpo.h index ae39b1151..05484135c 100644 --- a/src/common/nullpo.h +++ b/src/common/nullpo.h @@ -41,7 +41,7 @@ */ #define nullpo_chk(t) ( (t) != NULL ? false : (assert_report(__FILE__, __LINE__, __func__, #t, "nullpo info"), true) ) #else // ! NULLPO_CHECK -#define nullpo_chk(t) ((t), false) +#define nullpo_chk(t) ((void)(t), false) #endif // NULLPO_CHECK /** |