diff options
author | Tianjie Xu <xunchang@google.com> | 2017-08-29 19:51:04 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-08-29 19:51:04 +0200 |
commit | be3e19283b8852e6504daf96723b77f566fa1409 (patch) | |
tree | cbbda3734f8e94b0d246089e5eb6ec099dd6c368 /print_sha1.h | |
parent | Merge "Add libasyncio." am: d179c923d8 am: d21fb1ece0 am: 4dc141e6ba (diff) | |
parent | Merge "Turn on -Wall for recovery modules" am: 11f68b6b69 am: 44d0b008c6 (diff) | |
download | android_bootable_recovery-be3e19283b8852e6504daf96723b77f566fa1409.tar android_bootable_recovery-be3e19283b8852e6504daf96723b77f566fa1409.tar.gz android_bootable_recovery-be3e19283b8852e6504daf96723b77f566fa1409.tar.bz2 android_bootable_recovery-be3e19283b8852e6504daf96723b77f566fa1409.tar.lz android_bootable_recovery-be3e19283b8852e6504daf96723b77f566fa1409.tar.xz android_bootable_recovery-be3e19283b8852e6504daf96723b77f566fa1409.tar.zst android_bootable_recovery-be3e19283b8852e6504daf96723b77f566fa1409.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); } |