mirror of
https://github.com/holub/mame
synced 2025-04-21 07:52:35 +03:00
Fix compilation errors with -Og
Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
parent
65bf009f97
commit
2f70f9698e
@ -203,6 +203,9 @@ buildoptions {
|
||||
}
|
||||
|
||||
configuration { }
|
||||
buildoptions {
|
||||
"-Wno-error=maybe-uninitialized"
|
||||
}
|
||||
defines {
|
||||
"SOFTFLOAT_ROUND_ODD",
|
||||
"INLINE_LEVEL=5",
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user