]> git.zerfleddert.de Git - proxmark3-svn/commitdiff
FIX: Coverity scan, complain on z_stream.opaque is not initialized. Google it,says...
authoriceman1001 <iceman@iuse.se>
Tue, 19 Jan 2016 19:26:19 +0000 (20:26 +0100)
committericeman1001 <iceman@iuse.se>
Tue, 19 Jan 2016 19:26:19 +0000 (20:26 +0100)
client/fpga_compress.c

index 6af1846ef88aa4b5cb078c4f36769f9f6cba26a2..a0ecbe485e3711fce4a4e20885de97d581e54d84 100644 (file)
@@ -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,
Impressum, Datenschutz