diff options
author | Tianjie Xu <xunchang@google.com> | 2017-08-29 19:34:28 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-29 19:34:28 +0200 |
commit | 44d0b008c6b2c0a9f4ededcb58aa4d27f8adec91 (patch) | |
tree | e2b79f11b73bdb1b593076a25025b6c355a64559 /print_sha1.h | |
parent | Merge "Add libasyncio." (diff) | |
parent | Merge "Turn on -Wall for recovery modules" (diff) | |
download | android_bootable_recovery-44d0b008c6b2c0a9f4ededcb58aa4d27f8adec91.tar android_bootable_recovery-44d0b008c6b2c0a9f4ededcb58aa4d27f8adec91.tar.gz android_bootable_recovery-44d0b008c6b2c0a9f4ededcb58aa4d27f8adec91.tar.bz2 android_bootable_recovery-44d0b008c6b2c0a9f4ededcb58aa4d27f8adec91.tar.lz android_bootable_recovery-44d0b008c6b2c0a9f4ededcb58aa4d27f8adec91.tar.xz android_bootable_recovery-44d0b008c6b2c0a9f4ededcb58aa4d27f8adec91.tar.zst android_bootable_recovery-44d0b008c6b2c0a9f4ededcb58aa4d27f8adec91.zip |
Diffstat (limited to 'print_sha1.h')
-rw-r--r-- | print_sha1.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/print_sha1.h b/print_sha1.h index 1f8589519..d0c18b355 100644 --- a/print_sha1.h +++ b/print_sha1.h @@ -32,15 +32,15 @@ static std::string print_sha1(const uint8_t* sha1, size_t len) { return result; } -static std::string print_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) { +[[maybe_unused]] static std::string print_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) { return print_sha1(sha1, SHA_DIGEST_LENGTH); } -static std::string short_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) { +[[maybe_unused]] static std::string short_sha1(const uint8_t sha1[SHA_DIGEST_LENGTH]) { return print_sha1(sha1, 4); } -static std::string print_hex(const uint8_t* bytes, size_t len) { +[[maybe_unused]] static std::string print_hex(const uint8_t* bytes, size_t len) { return print_sha1(bytes, len); } |