summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2017-07-11 11:31:37 -0700
committerMarcel Holtmann <marcel@holtmann.org>2017-07-11 11:31:37 -0700
commitf55b3a7ee9506b9e78f91ceb338c902bf37356a3 (patch)
treef0850d14d85784e19a8c0c7cc3d0a764409bbdd4 /profiles
parentf9923bd2b4de61eca71ea512954c685e9490bfcf (diff)
downloadbluez-f55b3a7ee9506b9e78f91ceb338c902bf37356a3.tar.gz
network: Add missing fall through declaration
Diffstat (limited to 'profiles')
-rw-r--r--profiles/network/bnep.c4
-rw-r--r--profiles/network/server.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c
index 9bf0b1875..789c18dcf 100644
--- a/profiles/network/bnep.c
+++ b/profiles/network/bnep.c
@@ -564,9 +564,7 @@ static uint16_t bnep_setup_decode(int sk, struct bnep_setup_conn_req *req,
return BNEP_CONN_INVALID_DST;
if (memcmp(&source[4], bt_base, sizeof(bt_base)) != 0)
return BNEP_CONN_INVALID_SRC;
-
- /* Intentional no-break */
-
+ /* fall through */
case 4: /* UUID32 */
val = get_be32(dest);
if (val > 0xffff)
diff --git a/profiles/network/server.c b/profiles/network/server.c
index e69ffaf59..175e5822d 100644
--- a/profiles/network/server.c
+++ b/profiles/network/server.c
@@ -354,9 +354,7 @@ static gboolean bnep_setup(GIOChannel *chan,
case 16:
if (memcmp(&req->service[4], bt_base, sizeof(bt_base)) != 0)
break;
-
- /* Intentional no-brake */
-
+ /* fall through */
case 4:
val = get_be32(req->service);
if (val > 0xffff)