From ef0b67d48cfbc2d0bde4d8e2b781accf5566e501 Mon Sep 17 00:00:00 2001 From: OBattler Date: Fri, 26 Oct 2018 05:07:03 +0200 Subject: [PATCH] Clearly marked two deliberate fallthroughs in disk/zip.c and scsi/scsi_cdrom.c. --- src/disk/zip.c | 3 ++- src/scsi/scsi_cdrom.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/disk/zip.c b/src/disk/zip.c index 529302438..4c31eead7 100644 --- a/src/disk/zip.c +++ b/src/disk/zip.c @@ -9,7 +9,7 @@ * Implementation of the Iomega ZIP drive with SCSI(-like) * commands, for both ATAPI and SCSI usage. * - * Version: @(#)zip.c 1.0.30 2018/10/26 + * Version: @(#)zip.c 1.0.31 2018/10/26 * * Author: Miran Grca, * @@ -900,6 +900,7 @@ zip_update_request_length(zip_t *dev, int len, int block_len) break; } } + /*FALLTHROUGH*/ default: dev->packet_len = len; break; diff --git a/src/scsi/scsi_cdrom.c b/src/scsi/scsi_cdrom.c index 7a630e6e1..bb824c0c4 100644 --- a/src/scsi/scsi_cdrom.c +++ b/src/scsi/scsi_cdrom.c @@ -9,7 +9,7 @@ * Implementation of the CD-ROM drive with SCSI(-like) * commands, for both ATAPI and SCSI usage. * - * Version: @(#)scsi_cdrom.c 1.0.58 2018/10/26 + * Version: @(#)scsi_cdrom.c 1.0.59 2018/10/26 * * Author: Miran Grca, * @@ -651,6 +651,7 @@ scsi_cdrom_update_request_length(scsi_cdrom_t *dev, int len, int block_len) break; } } + /*FALLTHROUGH*/ default: dev->packet_len = len; break;