1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-28 16:07:14 +00:00

Fix MSVC warnings C4701 and C4703: Potentially uninitialized variable used

This commit is contained in:
Rémi Verschelde
2022-09-28 17:05:34 +02:00
parent 14e1f36e61
commit 85fe6ecc32
8 changed files with 17 additions and 15 deletions

View File

@@ -301,7 +301,7 @@ Error AppxPackager::add_file(String p_file_name, const uint8_t *p_buffer, size_t
Vector<uint8_t> file_buffer;
// Data for compression
z_stream strm;
z_stream strm{};
Vector<uint8_t> strm_in;
strm_in.resize(BLOCK_SIZE);
Vector<uint8_t> strm_out;