summaryrefslogtreecommitdiffstats
path: root/man_term.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 /man_term.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 'man_term.c')
-rw-r--r--man_term.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/man_term.c b/man_term.c
index 655ba414..a16dba73 100644
--- a/man_term.c
+++ b/man_term.c
@@ -371,14 +371,11 @@ pre_ft(DECL_ARGS)
cp = n->child->string;
switch (*cp) {
case '4':
- /* FALLTHROUGH */
case '3':
- /* FALLTHROUGH */
case 'B':
term_fontrepl(p, TERMFONT_BOLD);
break;
case '2':
- /* FALLTHROUGH */
case 'I':
term_fontrepl(p, TERMFONT_UNDER);
break;
@@ -386,9 +383,7 @@ pre_ft(DECL_ARGS)
term_fontlast(p);
break;
case '1':
- /* FALLTHROUGH */
case 'C':
- /* FALLTHROUGH */
case 'R':
term_fontrepl(p, TERMFONT_NONE);
break;
@@ -449,15 +444,10 @@ pre_sp(DECL_ARGS)
if ((NULL == n->prev && n->parent)) {
switch (n->parent->tok) {
case MAN_SH:
- /* FALLTHROUGH */
case MAN_SS:
- /* FALLTHROUGH */
case MAN_PP:
- /* FALLTHROUGH */
case MAN_LP:
- /* FALLTHROUGH */
case MAN_P:
- /* FALLTHROUGH */
return 0;
default:
break;