From df9f87f985e0b1e5c13bf4b196d16316f49cd8ac Mon Sep 17 00:00:00 2001 From: Markus Mittendrein Date: Sat, 16 Mar 2019 14:50:27 +0100 Subject: Always initialize magic1 and magic2 in cc4group_uncompressGroup (Fixes building with mingw) --- src/cc4group.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cc4group.c') diff --git a/src/cc4group.c b/src/cc4group.c index 14d35ab..e0ba55e 100644 --- a/src/cc4group.c +++ b/src/cc4group.c @@ -436,7 +436,7 @@ static bool cc4group_uncompressGroup(CC4Group* const this, CC4Group_ReadCallback size_t readSize = 0; bool eof = false; - uint8_t magic1, magic2; + uint8_t magic1 = 0, magic2 = 0; while(!eof && totalReadSize < 2) { -- cgit v1.2.3-54-g00ecf