summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-10-12 00:08:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-10-12 00:08:15 +0000
commit66cfe68f0233b3c301173c3bec7198336d19b416 (patch)
treee9821fa61c6ae680cfa8b6a303737a9f3d9518d6 /tree.c
parent0874c59dbe39089dbe25a81d4eb19ebc63baa9ad (diff)
downloadmandoc-66cfe68f0233b3c301173c3bec7198336d19b416.tar.gz
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 'tree.c')
-rw-r--r--tree.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/tree.c b/tree.c
index ca3283f1..61a8e19a 100644
--- a/tree.c
+++ b/tree.c
@@ -224,11 +224,8 @@ print_man(const struct roff_node *n, int indent)
p = n->string;
break;
case ROFFT_ELEM:
- /* FALLTHROUGH */
case ROFFT_BLOCK:
- /* FALLTHROUGH */
case ROFFT_HEAD:
- /* FALLTHROUGH */
case ROFFT_BODY:
p = man_macronames[n->tok];
break;
@@ -357,12 +354,10 @@ print_span(const struct tbl_span *sp, int indent)
for (dp = sp->first; dp; dp = dp->next) {
switch (dp->pos) {
case TBL_DATA_HORIZ:
- /* FALLTHROUGH */
case TBL_DATA_NHORIZ:
putchar('-');
continue;
case TBL_DATA_DHORIZ:
- /* FALLTHROUGH */
case TBL_DATA_NDHORIZ:
putchar('=');
continue;