diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2019-03-16 14:50:27 +0100 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2019-03-16 15:17:11 +0100 |
| commit | df9f87f985e0b1e5c13bf4b196d16316f49cd8ac (patch) | |
| tree | 8cfe6ae0cf166bbc90e310aba0443b832d078c41 /src | |
| parent | 106aeaeb988a279102bd23df8ec6abdaf12b61a0 (diff) | |
| download | cc4group-df9f87f985e0b1e5c13bf4b196d16316f49cd8ac.tar.gz cc4group-df9f87f985e0b1e5c13bf4b196d16316f49cd8ac.zip | |
Always initialize magic1 and magic2 in cc4group_uncompressGroup (Fixes building with mingw)
Diffstat (limited to 'src')
| -rw-r--r-- | src/cc4group.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |
