diff options
author | 2018-12-10 22:10:42 +0100 | |
---|---|---|
committer | 2018-12-11 14:26:30 +0100 | |
commit | 2f70f9698efc59e01ba6f47315ea736ecc2a5341 (patch) | |
tree | 7f9c6567fec77809305afbaa0aec2183bb7777cf /src/lib/util/png.cpp | |
parent | 65bf009f970122261f55869cadbc5d3077a75452 (diff) |
Fix compilation errors with -Og
Signed-off-by: Celelibi <celelibi@gmail.com>
Diffstat (limited to 'src/lib/util/png.cpp')
-rw-r--r-- | src/lib/util/png.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util/png.cpp b/src/lib/util/png.cpp index 0a3b616b01f..6b13f4f9593 100644 --- a/src/lib/util/png.cpp +++ b/src/lib/util/png.cpp @@ -705,7 +705,7 @@ public: { // read a chunk std::unique_ptr<std::uint8_t []> chunk_data; - std::uint32_t chunk_type, chunk_length; + std::uint32_t chunk_type = 0, chunk_length; error = read_chunk(fp, chunk_data, chunk_type, chunk_length); if (PNGERR_NONE == error) { |