From 8f3749642ee659db825db627098e1580dab46656 Mon Sep 17 00:00:00 2001 From: brian khuu Date: Sat, 6 Jul 2024 00:50:34 +1000 Subject: [PATCH] llama-gguf-hash: ignore maybe-uninitialized gcc-8 error --- examples/gguf-hash/deps/sha256/sha256.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/gguf-hash/deps/sha256/sha256.c b/examples/gguf-hash/deps/sha256/sha256.c index 156993549..a7a87aeb2 100644 --- a/examples/gguf-hash/deps/sha256/sha256.c +++ b/examples/gguf-hash/deps/sha256/sha256.c @@ -94,7 +94,7 @@ static const uint32_t K[64] = { static void sha256_transform(uint32_t *state, const uint32_t *data) { - uint32_t W[16]; + uint32_t W[16] = {0}; unsigned j; #ifdef _SHA256_UNROLL2 uint32_t a,b,c,d,e,f,g,h;