From ae243cbbee09a8ea3528cb7cb963b07f9e4e6fe1 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 27 Feb 2019 20:24:07 -0500 Subject: don't bother with (void)expression --- test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test.h b/test.h index f6566b9..4f763b8 100644 --- a/test.h +++ b/test.h @@ -6,7 +6,7 @@ void test_int_equals_imp(const char*, int, int); #define test_int_equals(expression, expected) test_int_equals_imp(#expression, expression, expected) void test_void_imp(const char*); -#define test_void(expression) test_void_imp(#expression); (void)expression +#define test_void(expression) test_void_imp(#expression) void test_bool_imp(const char *, int, int); #define test_false(expression) test_bool_imp(#expression, expression, 0) -- cgit v1.2.1