Skip to content

Commit c1e98a4

Browse files
committed
fabrics: Use fallthrough statement
Use consistently the fallthrough statement as we have a fallback in util.h in case the compiler doesn't support it. Signed-off-by: Daniel Wagner <[email protected]>
1 parent 2cf1526 commit c1e98a4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvme/fabrics.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -742,7 +742,7 @@ nvme_ctrl_t nvmf_connect_disc_entry(nvme_host_t h,
742742
default:
743743
nvme_msg(h->r, LOG_ERR, "unsupported subtype %d\n",
744744
e->subtype);
745-
/* fallthrough */
745+
fallthrough;
746746
case NVME_NQN_NVME:
747747
nvme_ctrl_set_discovery_ctrl(c, false);
748748
break;

0 commit comments

Comments
 (0)