mirror of
https://github.com/tfussell/xlnt.git
synced 2024-03-22 13:11:17 +08:00
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:
parent
e250174d1f
commit
d9404888a9
|
@ -332,7 +332,7 @@ class ZipStreambufCompress : public std::streambuf
|
|||
|
||||
public:
|
||||
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.zfree = Z_NULL;
|
||||
|
|
Loading…
Reference in New Issue
Block a user