diff options
author | Vincent Sanders <vince@kyllikki.org> | 2018-09-07 12:53:51 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2018-09-07 12:53:51 +0100 |
commit | e4537cb37ed5b075c62723c9a49348c76eeb3d5c (patch) | |
tree | 8b195d9b112bb4613c3c52e3f83b25e6eb6152f4 /content/handlers/css | |
parent | bd8991c2f6546d42008ade8dd4db133a120c44db (diff) | |
download | netsurf-e4537cb37ed5b075c62723c9a49348c76eeb3d5c.tar.gz netsurf-e4537cb37ed5b075c62723c9a49348c76eeb3d5c.tar.bz2 |
allow comments to supress implicit fallthrough warnings
Diffstat (limited to 'content/handlers/css')
-rw-r--r-- | content/handlers/css/hints.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/content/handlers/css/hints.c b/content/handlers/css/hints.c index 3a15f8e08..d3d27fb3c 100644 --- a/content/handlers/css/hints.c +++ b/content/handlers/css/hints.c @@ -1538,22 +1538,22 @@ css_error node_presentational_hint(void *pw, void *node, css_hint_width(pw, node); css_hint_table_cell_border_padding(pw, node); css_hint_white_space_nowrap(pw, node); - /* fallthrough */ + /* fall through */ case DOM_HTML_ELEMENT_TYPE_TR: css_hint_height(pw, node); - /* fallthrough */ + /* fall through */ case DOM_HTML_ELEMENT_TYPE_THEAD: case DOM_HTML_ELEMENT_TYPE_TBODY: case DOM_HTML_ELEMENT_TYPE_TFOOT: css_hint_text_align_special(pw, node); - /* fallthrough */ + /* fall through */ case DOM_HTML_ELEMENT_TYPE_COL: css_hint_vertical_align_table_cells(pw, node); break; case DOM_HTML_ELEMENT_TYPE_APPLET: case DOM_HTML_ELEMENT_TYPE_IMG: css_hint_margin_hspace_vspace(pw, node); - /* fallthrough */ + /* fall through */ case DOM_HTML_ELEMENT_TYPE_EMBED: case DOM_HTML_ELEMENT_TYPE_IFRAME: case DOM_HTML_ELEMENT_TYPE_OBJECT: @@ -1576,7 +1576,7 @@ css_error node_presentational_hint(void *pw, void *node, break; case DOM_HTML_ELEMENT_TYPE_CAPTION: css_hint_caption_side(pw, node); - /* fallthrough */ + /* fall through */ case DOM_HTML_ELEMENT_TYPE_DIV: css_hint_text_align_special(pw, node); break; |