From ee989df86f94ebf777b758fb7f2c1cd3c9862ed6 Mon Sep 17 00:00:00 2001 From: Mark Andrews Date: Sat, 14 Sep 2013 19:34:41 +1000 Subject: [PATCH] silence compiler warnings (cherry picked from commit a0369bb59fe607f03dab88979df9c541d379ab74) --- unit/atf-src/atf-c/detail/sanity.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/unit/atf-src/atf-c/detail/sanity.h b/unit/atf-src/atf-c/detail/sanity.h index 0b4f3e4756..161c6f0af7 100644 --- a/unit/atf-src/atf-c/detail/sanity.h +++ b/unit/atf-src/atf-c/detail/sanity.h @@ -56,14 +56,17 @@ void atf_sanity_post(const char *, int, const char *); #define INV(x) \ do { \ + (void)(x); \ } while (0) #define PRE(x) \ do { \ + (void)(x); \ } while (0) #define POST(x) \ do { \ + (void)(x); \ } while (0) #endif /* !defined(NDEBUG) */