Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Braithwaite <mab@google.com>2015-06-05 21:43:49 +0300
committerAdam Langley <agl@google.com>2015-06-05 21:48:02 +0300
commit1d0a0561806a966adfd31bc968c79a01888c34c5 (patch)
tree6d05cc48833a3fe46a4838ba70ce45be4ff37057 /crypto/digest
parent1043ac0fac8b6a7b0c82c5e7cca5afffc98d5b87 (diff)
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>
Diffstat (limited to 'crypto/digest')
-rw-r--r--crypto/digest/digests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/digest/digests.c b/crypto/digest/digests.c
index f5eda36f..cdcc6f10 100644
--- a/crypto/digest/digests.c
+++ b/crypto/digest/digests.c
@@ -67,7 +67,7 @@
#include "internal.h"
#if defined(NDEBUG)
-#define CHECK(x) x
+#define CHECK(x) (void) (x)
#else
#define CHECK(x) assert(x)
#endif