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/bus/ata/atapicdr.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/bus/ata/atapicdr.cpp')
-rw-r--r-- | src/devices/bus/ata/atapicdr.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/devices/bus/ata/atapicdr.cpp b/src/devices/bus/ata/atapicdr.cpp index 33cb0cb154e..2099763468c 100644 --- a/src/devices/bus/ata/atapicdr.cpp +++ b/src/devices/bus/ata/atapicdr.cpp @@ -130,6 +130,7 @@ void atapi_cdrom_device::ExecCommand() m_transfer_length = 0; return; } + [[fallthrough]]; default: if(m_media_change) { |