| From 679d0abe7c142df178a907397551c4d9695cc667 Mon Sep 17 00:00:00 2001 |
| From: Paolo Bonzini <pbonzini@redhat.com> |
| Date: Mon, 1 Oct 2018 14:14:24 +0200 |
| Subject: [PATCH] avoid fallthrough |
| |
| Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> |
| [Retrieved from: |
| https://github.com/sahlberg/libiscsi/commit/679d0abe7c142df178a907397551c4d9695cc667] |
| --- |
| lib/scsi-lowlevel.c | 1 + |
| 1 file changed, 1 insertion(+) |
| |
| diff --git a/lib/scsi-lowlevel.c b/lib/scsi-lowlevel.c |
| index 5ddd709c..747ce0c4 100644 |
| --- a/lib/scsi-lowlevel.c |
| +++ b/lib/scsi-lowlevel.c |
| @@ -1086,6 +1086,7 @@ scsi_maintenancein_datain_getfullsize(struct scsi_task *task) |
| (task_get_uint8(task, 1) & 0x80) ? 12 : 0 + |
| task_get_uint16(task, 2); |
| } |
| + return -1; |
| default: |
| return -1; |
| } |