mirror of
https://github.com/holub/mame
synced 2025-06-03 19:36:26 +03:00
swp00: workaround bogus 'variable may be unitialized' compiler warning
This commit is contained in:
parent
87d3121901
commit
8a574df9d0
@ -1410,7 +1410,7 @@ void swp00_device::sound_stream_update(sound_stream &stream, std::vector<read_st
|
||||
var_r = m7(var_r, 0x07);
|
||||
|
||||
// Split depending on the variant selected
|
||||
s32 var_out_l, var_out_r;
|
||||
s32 var_out_l = 0, var_out_r = 0;
|
||||
|
||||
switch(m_meg_control & 0xc0) {
|
||||
case 0x00: {
|
||||
|
Loading…
Reference in New Issue
Block a user