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:
parent
1043ac0fac
commit
1d0a056180
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user