mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2024-12-23 21:25:49 +00:00
fix uninitialized variable
This commit is contained in:
parent
09bff1e262
commit
af24ef48a9
1 changed files with 2 additions and 2 deletions
|
@ -396,8 +396,8 @@ namespace sprout {
|
||||||
std::uint32_t d = h_[3];
|
std::uint32_t d = h_[3];
|
||||||
std::uint32_t e = h_[4];
|
std::uint32_t e = h_[4];
|
||||||
for (std::size_t i = 0; i < 80; ++i) {
|
for (std::size_t i = 0; i < 80; ++i) {
|
||||||
std::uint32_t f;
|
std::uint32_t f = 0;
|
||||||
std::uint32_t k;
|
std::uint32_t k = 0;
|
||||||
if (i<20) {
|
if (i<20) {
|
||||||
f = (b & c) | (~b & d);
|
f = (b & c) | (~b & d);
|
||||||
k = 0x5A827999;
|
k = 0x5A827999;
|
||||||
|
|
Loading…
Reference in a new issue