summaryrefslogtreecommitdiff
path: root/content/handlers/javascript/duktape
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 21:33:13 +0000
commitb5f4d905f958ebfce9be2ab8daa5d42b62f7277d (patch)
tree2d2b35635858274945de6ac503221877c9ceae21 /content/handlers/javascript/duktape
parent199f86dcf10bc62b9428f012381e32728bff3014 (diff)
downloadnetsurf-b5f4d905f958ebfce9be2ab8daa5d42b62f7277d.tar.gz
netsurf-b5f4d905f958ebfce9be2ab8daa5d42b62f7277d.tar.bz2
use attributes to indicate switch fall through instead of comments
Diffstat (limited to 'content/handlers/javascript/duktape')
-rw-r--r--content/handlers/javascript/duktape/dukky.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/javascript/duktape/dukky.c b/content/handlers/javascript/duktape/dukky.c
index c0a2749a9..a780b0067 100644
--- a/content/handlers/javascript/duktape/dukky.c
+++ b/content/handlers/javascript/duktape/dukky.c
@@ -385,7 +385,7 @@ static void dukky_html_element_class_from_tag_type(dom_html_element_type type,
break;
case DOM_HTML_ELEMENT_TYPE__COUNT:
assert(type != DOM_HTML_ELEMENT_TYPE__COUNT);
- /* fallthrough */
+ fallthrough;
case DOM_HTML_ELEMENT_TYPE__UNKNOWN:
SET_HTML_CLASS(UNKNOWN)
break;