From 854e37aab7d7d2093a0a6620a3257b8f2a1d405c Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Sat, 3 Jun 2017 11:20:20 -0700 Subject: [PATCH] Fix compiler warning/error under gcc7 Gcc7 complains about falling through from the previous case to the default arm Signed-off-by: Ronnie Sahlberg --- test-tool/iscsi-support.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/test-tool/iscsi-support.c b/test-tool/iscsi-support.c index cbadf85..e98615b 100644 --- a/test-tool/iscsi-support.c +++ b/test-tool/iscsi-support.c @@ -2939,8 +2939,6 @@ void populate_ident_tgt_desc(unsigned char *buf, struct scsi_device *dev) tgt_desig = desig; prev_type = desig->designator_type; } - default: - continue; } } if (tgt_desig == NULL) {