summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2020-11-15 03:58:54 +1100
committer Vas Crabb <vas@vastheman.com>2020-11-15 03:58:54 +1100
commit4298ce18fb33d5935231a83bcf1f60289eb6b09c (patch)
tree6468a077c367eb806dcd91a69d33954e77e65f14 /src/lib
parentf191d038ec1fa110e06374ff79e345c91b3365d7 (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/lib')
-rw-r--r--src/lib/formats/cqm_dsk.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/formats/cqm_dsk.cpp b/src/lib/formats/cqm_dsk.cpp
index c38f06bde1c..3afba37090d 100644
--- a/src/lib/formats/cqm_dsk.cpp
+++ b/src/lib/formats/cqm_dsk.cpp
@@ -308,6 +308,7 @@ bool cqm_format::load(io_generic *io, uint32_t form_factor, floppy_image *image)
if (heads == 1)
return false; // single side ED ?
image->set_variant(floppy_image::DSED);
+ [[fallthrough]]; // FIXME: really?
default:
return false;
}