From f9923bd2b4de61eca71ea512954c685e9490bfcf Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 11 Jul 2017 11:31:12 -0700 Subject: [PATCH] shared: Add missing fall through declaration --- src/shared/att.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/shared/att.c b/src/shared/att.c index ca2d05143..4670de74f 100644 --- a/src/shared/att.c +++ b/src/shared/att.c @@ -485,8 +485,7 @@ static bool can_write_data(struct io *io, void *user_data) case ATT_OP_TYPE_RSP: /* Set in_req to false to indicate that no request is pending */ att->in_req = false; - - /* Fall through to the next case */ + /* fall through */ case ATT_OP_TYPE_CMD: case ATT_OP_TYPE_NOT: case ATT_OP_TYPE_CONF: @@ -901,12 +900,12 @@ static bool can_read_data(struct io *io, void *user_data) } att->in_req = true; - - /* Fall through to the next case */ + /* fall through */ case ATT_OP_TYPE_CMD: case ATT_OP_TYPE_NOT: case ATT_OP_TYPE_UNKNOWN: case ATT_OP_TYPE_IND: + /* fall through */ default: /* For all other opcodes notify the upper layer of the PDU and * let them act on it. -- 2.47.3