mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-19 19:40:56 +00:00
Squashed the warnings
This commit is contained in:
1 parent
7083bea56b
commit
77817cd019
1 file changed
+2
-1
+2
-1
@@ -1709,8 +1709,9 @@ static void SHA1Transform(uint32_t state[5], const unsigned char buffer[64]) {
|
|||||||
state[4] += e;
|
state[4] += e;
|
||||||
// Erase working structures. The order of operations is important,
|
// Erase working structures. The order of operations is important,
|
||||||
// used to ensure that compiler doesn't optimize those out.
|
// used to ensure that compiler doesn't optimize those out.
|
||||||
|
memset(block, 0, sizeof(block));
|
||||||
a = b = c = d = e = 0;
|
a = b = c = d = e = 0;
|
||||||
memset(block, a, sizeof(block));
|
(void) a; (void) b; (void) c; (void) d; (void) e;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void SHA1Init(SHA1_CTX* context) {
|
static void SHA1Init(SHA1_CTX* context) {
|
||||||
|
|||||||
Reference in new issue
Block a user