From 618143239846e695f55a25c6beb8d5341869794b Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Tue, 5 Mar 2024 08:29:15 +0000 Subject: use attributes to indicate switch fall through instead of comments --- content/handlers/html/box_inspect.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/handlers/html/box_inspect.c') diff --git a/content/handlers/html/box_inspect.c b/content/handlers/html/box_inspect.c index 181f58cf8..6591b6446 100644 --- a/content/handlers/html/box_inspect.c +++ b/content/handlers/html/box_inspect.c @@ -25,6 +25,7 @@ #include #include +#include "utils/utils.h" #include "utils/nsurl.h" #include "utils/errors.h" #include "netsurf/types.h" @@ -212,7 +213,7 @@ box_move_xy(struct box *b, enum box_walk_dir dir, int *x, int *y) rb = b; break; } - /* fall through */ + fallthrough; case BOX_WALK_NEXT_SIBLING: do { -- cgit v1.2.3