DiscIO: Change a memset() to zero initialization.
This commit is contained in:
parent
f54bf81520
commit
815b7bec96
|
@ -163,8 +163,7 @@ bool CompressFileToBlob(const std::string& infile, const std::string& outfile, u
|
||||||
scrubbing = true;
|
scrubbing = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
z_stream z;
|
z_stream z = {};
|
||||||
memset(&z, 0, sizeof(z));
|
|
||||||
if (deflateInit(&z, 9) != Z_OK)
|
if (deflateInit(&z, 9) != Z_OK)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue