mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2024-10-22 10:46:04 +03:00
Initialize member fields
This commit is contained in:
parent
57ec71b4d3
commit
8ba8d69bef
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ QByteArray Utils::Gzip::compress(const QByteArray &data, const int level, bool *
|
|||
const int BUFSIZE = 128 * 1024;
|
||||
std::vector<char> tmpBuf(BUFSIZE);
|
||||
|
||||
z_stream strm;
|
||||
z_stream strm {};
|
||||
strm.zalloc = Z_NULL;
|
||||
strm.zfree = Z_NULL;
|
||||
strm.opaque = Z_NULL;
|
||||
|
@ -109,7 +109,7 @@ QByteArray Utils::Gzip::decompress(const QByteArray &data, bool *ok)
|
|||
const int BUFSIZE = 1024 * 1024;
|
||||
std::vector<char> tmpBuf(BUFSIZE);
|
||||
|
||||
z_stream strm;
|
||||
z_stream strm {};
|
||||
strm.zalloc = Z_NULL;
|
||||
strm.zfree = Z_NULL;
|
||||
strm.opaque = Z_NULL;
|
||||
|
|
Loading…
Reference in a new issue