Explicitly cast |CHECK| result to |void| to avoid compiler complaint.

Change-Id: Ie7b376da1a157d144e9c4651722630dbf9c45436
Reviewed-on: https://boringssl-review.googlesource.com/5021
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
Matt Braithwaite 2015-06-05 11:43:49 -07:00 committed by Adam Langley
parent 1043ac0fac
commit 1d0a056180

View File

@ -67,7 +67,7 @@
#include "internal.h" #include "internal.h"
#if defined(NDEBUG) #if defined(NDEBUG)
#define CHECK(x) x #define CHECK(x) (void) (x)
#else #else
#define CHECK(x) assert(x) #define CHECK(x) assert(x)
#endif #endif