don't used empty braced initializer for z_stream_s to avoid gcc warning, it should be fine uninitialized [ci skip]

This commit is contained in:
Thomas Fussell 2016-12-14 11:39:38 +01:00
parent e250174d1f
commit d9404888a9

View File

@ -332,7 +332,7 @@ class ZipStreambufCompress : public std::streambuf
public: public:
ZipStreambufCompress(zip_file_header *central_header, std::ostream &stream) ZipStreambufCompress(zip_file_header *central_header, std::ostream &stream)
: ostream(stream), strm({}), header(central_header), valid(true) : ostream(stream), header(central_header), valid(true)
{ {
strm.zalloc = Z_NULL; strm.zalloc = Z_NULL;
strm.zfree = Z_NULL; strm.zfree = Z_NULL;