summaryrefslogtreecommitdiffstats
path: root/main.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 /main.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 'main.c')
-rw-r--r--main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/main.c b/main.c
index a7d7dba5..cc94b99f 100644
--- a/main.c
+++ b/main.c
@@ -709,13 +709,9 @@ parse(struct curparse *curp, int fd, const char *file)
curp->outman = man_man;
break;
case OUTT_PDF:
- /* FALLTHROUGH */
case OUTT_ASCII:
- /* FALLTHROUGH */
case OUTT_UTF8:
- /* FALLTHROUGH */
case OUTT_LOCALE:
- /* FALLTHROUGH */
case OUTT_PS:
curp->outman = terminal_man;
curp->outmdoc = terminal_mdoc;
@@ -896,7 +892,6 @@ woptions(struct curparse *curp, char *arg)
curp->wstop = 1;
break;
case 1:
- /* FALLTHROUGH */
case 2:
curp->wlevel = MANDOCLEVEL_WARNING;
break;