Diff between f9923bd2b4de61eca71ea512954c685e9490bfcf and f55b3a7ee9506b9e78f91ceb338c902bf37356a3

Changed Files

File Additions Deletions Status
profiles/network/bnep.c +1 -3 modified
profiles/network/server.c +1 -3 modified

Full Patch

diff --git a/profiles/network/bnep.c b/profiles/network/bnep.c
index 9bf0b18..789c18d 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 e69ffaf..175e582 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)