DiscIO: Change a memset() to zero initialization.

This commit is contained in:
Unknown W. Brackets 2014-11-27 11:12:17 -08:00
parent f54bf81520
commit 815b7bec96
1 changed files with 1 additions and 2 deletions

View File

@ -163,8 +163,7 @@ bool CompressFileToBlob(const std::string& infile, const std::string& outfile, u
scrubbing = true;
}
z_stream z;
memset(&z, 0, sizeof(z));
z_stream z = {};
if (deflateInit(&z, 9) != Z_OK)
return false;