diff options
author | 2020-11-15 03:58:54 +1100 | |
---|---|---|
committer | 2020-11-15 03:58:54 +1100 | |
commit | 4298ce18fb33d5935231a83bcf1f60289eb6b09c (patch) | |
tree | 6468a077c367eb806dcd91a69d33954e77e65f14 /src/devices/cpu/dspp/dspp.cpp | |
parent | f191d038ec1fa110e06374ff79e345c91b3365d7 (diff) |
Enable GCC implicit fallthrough warning.
I've guessed whether break or [[fallthrough]] is appropriate. In cases
where it looked particularly suspicious, I added a FIXME comment. All
of these changes should be reviewed by someone familiar with the code.
Diffstat (limited to 'src/devices/cpu/dspp/dspp.cpp')
-rw-r--r-- | src/devices/cpu/dspp/dspp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/cpu/dspp/dspp.cpp b/src/devices/cpu/dspp/dspp.cpp index dded3f028f9..ac7ece3cfb5 100644 --- a/src/devices/cpu/dspp/dspp.cpp +++ b/src/devices/cpu/dspp/dspp.cpp @@ -613,10 +613,11 @@ inline void dspp_device::set_rbase(uint32_t base, uint32_t addr) case 0: m_core->m_rbase[0] = addr; m_core->m_rbase[1] = addr + 4 - base; + [[fallthrough]]; // Intentional fall-through case 8: m_core->m_rbase[2] = addr + 8 - base; - + [[fallthrough]]; case 12: m_core->m_rbase[3] = addr + 12 - base; break; |