commit | e26e5908240e14a9b3a37e1503270e91d1e40b52 | [log] [tgz] |
---|---|---|
author | Adam Langley <agl@google.com> | Tue Jun 02 13:51:10 2015 -0700 |
committer | Adam Langley <agl@google.com> | Tue Jun 02 23:05:54 2015 +0000 |
tree | cba18fe42e4a74128bede7233ae2e2b4bd97281d | |
parent | efad697813bc0468078d784c94f4eb99b6bd5ca4 [diff] |
Avoid unused variable warnings with assert. It would be nice if assert(x) reduced to ((void) x) when NDEBUG was defined, but it doesn't. Because of this, locally define CHECK, which does. This avoids warnings with Clang. Change-Id: I70882741da4984a025bcfaac1969032387f369de Reviewed-on: https://boringssl-review.googlesource.com/4991 Reviewed-by: David Benjamin <davidben@chromium.org> Reviewed-by: Adam Langley <agl@google.com>