diff --git a/util.h b/util.h index 4af3f74..9be0b62 100644 --- a/util.h +++ b/util.h @@ -32,9 +32,9 @@ void weprintf(const char *fmt, ...); #ifdef NDEBUG -# define brandt_assert(expr) ((void)(0)) -# define brandt_assert_perror(errnum) ((void)(0)) -# define brandt_assert_gpgerr(errnum) ((void)(0)) +# define brandt_assert(expr) ((void)(expr)) +# define brandt_assert_perror(errnum) ((void)(errnum)) +# define brandt_assert_gpgerr(errnum) ((void)(errnum)) #else