summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/tbl_html.c
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2015-10-12 00:07:27 +0000
committerschwarze <schwarze@openbsd.org>2015-10-12 00:07:27 +0000
commit9630d74cbc53981e988b8b430ffb0b3c2f923d3f (patch)
tree9492d825eb21f1ed0c8a192578aaf079a0310940 /usr.bin/mandoc/tbl_html.c
parentPass unsigned char to isdigit(3). (diff)
downloadwireguard-openbsd-9630d74cbc53981e988b8b430ffb0b3c2f923d3f.tar.xz
wireguard-openbsd-9630d74cbc53981e988b8b430ffb0b3c2f923d3f.zip
To make the code more readable, delete 283 /* FALLTHROUGH */ comments
that were right between two adjacent case statement. Keep only those 24 where the first case actually executes some code before falling through to the next case.
Diffstat (limited to 'usr.bin/mandoc/tbl_html.c')
-rw-r--r--usr.bin/mandoc/tbl_html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mandoc/tbl_html.c b/usr.bin/mandoc/tbl_html.c
index de851e3559a..08e643c0d16 100644
--- a/usr.bin/mandoc/tbl_html.c
+++ b/usr.bin/mandoc/tbl_html.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tbl_html.c,v 1.12 2015/10/06 18:30:44 schwarze Exp $ */
+/* $OpenBSD: tbl_html.c,v 1.13 2015/10/12 00:07:27 schwarze Exp $ */
/*
* Copyright (c) 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -106,7 +106,6 @@ print_tbl(struct html *h, const struct tbl_span *sp)
switch (sp->pos) {
case TBL_SPAN_HORIZ:
- /* FALLTHROUGH */
case TBL_SPAN_DHORIZ:
PAIR_INIT(&tag, ATTR_COLSPAN, "0");
print_otag(h, TAG_TD, 1, &tag);