Skip to content

Commit 5a26c4c

Browse files
committed
llama-gguf-hash: ignore maybe-uninitialized gcc-8 error
1 parent 5360799 commit 5a26c4c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/gguf-hash/deps/sha256/sha256.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,10 @@ static const uint32_t K[64] = {
9494
static void
9595
sha256_transform(uint32_t *state, const uint32_t *data)
9696
{
97+
#pragma GCC diagnostic push
98+
#pragma GCC diagnostic ignored "-Wmaybe-uninitialized"
9799
uint32_t W[16];
100+
#pragma GCC diagnostic pop
98101
unsigned j;
99102
#ifdef _SHA256_UNROLL2
100103
uint32_t a,b,c,d,e,f,g,h;

0 commit comments

Comments
 (0)