Fix some -Weffc++ warnings (part 2)

This commit is contained in:
Nekotekina
2021-04-03 19:38:02 +03:00
parent c1f1b1174d
commit 963d150e93
28 changed files with 169 additions and 130 deletions
+3 -3
View File
@@ -57,11 +57,11 @@ struct EDATADecrypter final : fs::file_base
u32 total_blocks{0};
u64 pos{0};
NPD_HEADER npdHeader;
EDAT_HEADER edatHeader;
NPD_HEADER npdHeader{};
EDAT_HEADER edatHeader{};
// Internal data buffers.
std::unique_ptr<u8[]> data_buf;
std::unique_ptr<u8[]> data_buf{};
u64 data_buf_size{0};
u128 dec_key{};