diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-12 00:08:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-12 00:08:15 +0000 |
commit | 66cfe68f0233b3c301173c3bec7198336d19b416 (patch) | |
tree | e9821fa61c6ae680cfa8b6a303737a9f3d9518d6 /tree.c | |
parent | 0874c59dbe39089dbe25a81d4eb19ebc63baa9ad (diff) | |
download | mandoc-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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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; |