From: iceman1001 Date: Tue, 19 Jan 2016 19:28:29 +0000 (+0100) Subject: FIX: Coverity Scans, z_stream.opaque not initialized, use Z_NULL; X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/704d552a776c35f4792971c739737047c0396205 FIX: Coverity Scans, z_stream.opaque not initialized, use Z_NULL; --- diff --git a/client/fpga_compress.c b/client/fpga_compress.c index a0ecbe48..c67f6769 100644 --- a/client/fpga_compress.c +++ b/client/fpga_compress.c @@ -189,6 +189,7 @@ int zlib_decompress(FILE *infile, FILE *outfile) compressed_fpga_stream.avail_out = DECOMPRESS_BUF_SIZE; compressed_fpga_stream.zalloc = fpga_deflate_malloc; compressed_fpga_stream.zfree = fpga_deflate_free; + compressed_fpga_stream.opaque = Z_NULL; ret = inflateInit2(&compressed_fpga_stream, 0);