summaryrefslogtreecommitdiff
path: root/content/handlers/html/box_inspect.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2024-03-05 08:29:15 +0000
committerVincent Sanders <vince@kyllikki.org>2024-03-05 08:29:15 +0000
commit618143239846e695f55a25c6beb8d5341869794b (patch)
tree7d53b8dbcf22c56fbe18d7a2de8cc5b7aec21911 /content/handlers/html/box_inspect.c
parent583ec7268083fa2f4005067e0314ff9a56e62664 (diff)
downloadnetsurf-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.c3
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 {