mirror of
https://github.com/holub/mame
synced 2025-04-22 00:11:58 +03:00
sinclair/specnext.cpp: fix gcc11 warning (#12478)
This commit is contained in:
parent
85624c486d
commit
4ac2966806
@ -99,7 +99,7 @@ void specnext_sprites_device::update_sprites_cache()
|
||||
m_sprites_cache.clear();
|
||||
m_sprites_cache.reserve(128);
|
||||
|
||||
sprite_data *anchor;
|
||||
sprite_data *anchor = nullptr;
|
||||
bool anchor_vis = false;
|
||||
u8 *sprite_attr = m_sprite_attr_ram;
|
||||
for (auto i = 0; i < 128; i++, sprite_attr += 8)
|
||||
|
Loading…
Reference in New Issue
Block a user