diff options
author | Vincent Sanders <vince@kyllikki.org> | 2024-03-05 08:29:15 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2024-03-05 08:29:15 +0000 |
commit | 618143239846e695f55a25c6beb8d5341869794b (patch) | |
tree | 7d53b8dbcf22c56fbe18d7a2de8cc5b7aec21911 /content/handlers/html/box_inspect.c | |
parent | 583ec7268083fa2f4005067e0314ff9a56e62664 (diff) | |
download | netsurf-vince/fallthrough.tar.gz netsurf-vince/fallthrough.tar.bz2 |
use attributes to indicate switch fall through instead of commentsvince/fallthrough
Diffstat (limited to 'content/handlers/html/box_inspect.c')
-rw-r--r-- | content/handlers/html/box_inspect.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 <stdio.h> #include <dom/dom.h> +#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 { |