summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2019-02-27 20:24:07 -0500
committerJakob Kaivo <jkk@ung.org>2019-02-27 20:24:07 -0500
commitae243cbbee09a8ea3528cb7cb963b07f9e4e6fe1 (patch)
tree772da066e6c8e945f1739d6bd0eeb977eb5d19dd
parentd8aac5c51466990a4bbddc9d38c116ed9c59b769 (diff)
don't bother with (void)expression
-rw-r--r--test.h2
1 files changed, 1 insertions, 1 deletions
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)