summaryrefslogtreecommitdiffhomepage
path: root/contrib/package/ucode-mod-html/src/html.c
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2023-08-08 20:49:31 +0200
committerJo-Philipp Wich <jo@mein.io>2023-08-08 20:49:31 +0200
commitb3d661cd84760a0cdf084a25f21556a07e369d33 (patch)
tree728c0b12d8576f0d5ca56fc98041374b695131f0 /contrib/package/ucode-mod-html/src/html.c
parent762c45eb2fbf55177d0bef2c63416f0fda59d26a (diff)
ucode-mod-html: fix build with gcc 5
Older gcc versions raise a `label at end of compound statement` error due to the empty default case. Fix the problem by adding an explicit `break` statement. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'contrib/package/ucode-mod-html/src/html.c')
-rw-r--r--contrib/package/ucode-mod-html/src/html.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/package/ucode-mod-html/src/html.c b/contrib/package/ucode-mod-html/src/html.c
index 8d44a3f315..76214ec9f9 100644
--- a/contrib/package/ucode-mod-html/src/html.c
+++ b/contrib/package/ucode-mod-html/src/html.c
@@ -2599,6 +2599,7 @@ tokenize_html(const char *s, size_t len, html_token_callback_t cb, void *ud)
case END:
/* not reached */
+ break;
}
}