diff options
| author | Unknown W. Brackets <checkins@unknownbrackets.org> | 2014-11-27 11:12:17 -0800 |
|---|---|---|
| committer | Unknown W. Brackets <checkins@unknownbrackets.org> | 2014-11-27 11:12:17 -0800 |
| commit | 815b7bec967c773a3c8605dfe12a7cfefa844d31 (patch) | |
| tree | 8345a3735f42ee758ff8932bc8fa3080f43f0202 /Source/Core/DiscIO/CompressedBlob.cpp | |
| parent | f54bf815208e61977392753b984e20abb8086c5f (diff) | |
DiscIO: Change a memset() to zero initialization.
Diffstat (limited to 'Source/Core/DiscIO/CompressedBlob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/CompressedBlob.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/CompressedBlob.cpp b/Source/Core/DiscIO/CompressedBlob.cpp index 61549e5bda..c3b79baf1c 100644 --- a/Source/Core/DiscIO/CompressedBlob.cpp +++ b/Source/Core/DiscIO/CompressedBlob.cpp @@ -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; |
