From: iceman1001 Date: Tue, 19 Jan 2016 19:26:19 +0000 (+0100) Subject: FIX: Coverity scan, complain on z_stream.opaque is not initialized. Google it,says... X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/886968335bc64a40f5a45780169c1264d1116b65 FIX: Coverity scan, complain on z_stream.opaque is not initialized. Google it,says use: Z_NULL --- diff --git a/client/fpga_compress.c b/client/fpga_compress.c index 6af1846e..a0ecbe48 100644 --- a/client/fpga_compress.c +++ b/client/fpga_compress.c @@ -113,6 +113,7 @@ int zlib_compress(FILE *infile[], uint8_t num_infiles, FILE *outfile) compressed_fpga_stream.avail_in = i; compressed_fpga_stream.zalloc = fpga_deflate_malloc; compressed_fpga_stream.zfree = fpga_deflate_free; + compressed_fpga_stream.opaque = Z_NULL; ret = deflateInit2(&compressed_fpga_stream, COMPRESS_LEVEL,