mirror of
https://github.com/holub/mame
synced 2025-07-03 09:06:08 +03:00
xavix_2002: get rid of bogus gcc -Wmaybe-uninitialized warning
This commit is contained in:
parent
306c93cdd6
commit
7334c4a5a2
@ -349,7 +349,8 @@ void xavix_i2c_jmat_state::xavix2002_i2c_jmat(machine_config &config)
|
|||||||
DEVICE_IMAGE_LOAD_MEMBER(xavix2002_super_tv_pc_state::cart_load)
|
DEVICE_IMAGE_LOAD_MEMBER(xavix2002_super_tv_pc_state::cart_load)
|
||||||
{
|
{
|
||||||
u64 length;
|
u64 length;
|
||||||
memory_region *cart_region;
|
memory_region *cart_region = nullptr;
|
||||||
|
|
||||||
if (m_cart->loaded_through_softlist())
|
if (m_cart->loaded_through_softlist())
|
||||||
{
|
{
|
||||||
cart_region = m_cart->memregion("prg");
|
cart_region = m_cart->memregion("prg");
|
||||||
|
Loading…
Reference in New Issue
Block a user