aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/sha1.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-01-31 11:50:10 +0000
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2023-01-31 11:50:10 +0000
commit96ee992ac3535848e2dc717bf284339badd40dcb (patch)
treee7405ed701334a1fcb99c72b5f0301725918f531 /src/crypto/sha1.h
parent357d750cab5221695d718e6d3e8ce63fa2b5ab3a (diff)
downloadbitcoin-96ee992ac3535848e2dc717bf284339badd40dcb.tar.xz
clang-tidy: Fix `modernize-use-default-member-init` in headers
See https://clang.llvm.org/extra/clang-tidy/checks/modernize/use-default-member-init.html
Diffstat (limited to 'src/crypto/sha1.h')
-rw-r--r--src/crypto/sha1.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/sha1.h b/src/crypto/sha1.h
index 4bd6c331a8..741cdaad58 100644
--- a/src/crypto/sha1.h
+++ b/src/crypto/sha1.h
@@ -14,7 +14,7 @@ class CSHA1
private:
uint32_t s[5];
unsigned char buf[64];
- uint64_t bytes;
+ uint64_t bytes{0};
public:
static const size_t OUTPUT_SIZE = 20;