From 0446d4a9c3ae683ca383644d0308700799924671 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 11 Jul 2017 11:32:26 -0700 Subject: [PATCH] sap: Add missing fall through declaration --- profiles/sap/server.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/profiles/sap/server.c b/profiles/sap/server.c index ce423a178..5de682a33 100644 --- a/profiles/sap/server.c +++ b/profiles/sap/server.c @@ -674,8 +674,7 @@ int sap_connect_rsp(void *sap_device, uint8_t status) param->len = htons(SAP_PARAM_ID_MAX_MSG_SIZE_LEN); put_be16(SAP_BUF_SIZE, ¶m->val); size += PARAMETER_SIZE(SAP_PARAM_ID_MAX_MSG_SIZE_LEN); - - /* fall */ + /* fall through */ default: conn->state = SAP_STATE_DISCONNECTED; @@ -992,7 +991,7 @@ int sap_status_ind(void *sap_device, uint8_t status_change) /* Change state to connected after ongoing call ended */ sap_set_connected(server); - /* fall */ + /* fall through */ case SAP_STATE_CONNECTED: case SAP_STATE_GRACEFUL_DISCONNECT: memset(buf, 0, sizeof(buf)); -- 2.47.3