mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-30 06:32:56 +00:00
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…
x
Reference in New Issue
Block a user