Fix issues identified by clang-tidy

- Replace assert with odk_static_assert for checks that can be handled
  at compile time.
- Use explicit bool conversion with memcmp.

Merged from https://widevine-internal-review.googlesource.com/170414

PiperOrigin-RevId: 524277743
Change-Id: I8b32e886e780e80406afceea562be2033d75d340
This commit is contained in:
Googler
2023-04-14 06:40:20 -07:00
committed by Robert Shih
parent a2a27c44ef
commit 89666aeb89
3 changed files with 6 additions and 14 deletions

View File

@@ -19,7 +19,7 @@ extern "C" {
#define ODK_MINOR_VERSION 2
/* ODK Version string. Date changed automatically on each release. */
#define ODK_RELEASE_DATE "ODK v18.2 2023-04-12"
#define ODK_RELEASE_DATE "ODK v18.2 2023-04-14"
/* The lowest version number for an ODK message. */
#define ODK_FIRST_VERSION 16