diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-12 00:07:28 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2015-10-12 00:07:28 +0000 |
commit | 5e416ae231412f4b0b6ca1049c7b220144a0c612 (patch) | |
tree | b43b154b5ab68f2342dbc0ac58620d2e7859189c /usr.bin/mandoc/main.c | |
parent | 000a003c618414feb0eec474dec5db0314e263ae (diff) |
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/main.c')
-rw-r--r-- | usr.bin/mandoc/main.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/usr.bin/mandoc/main.c b/usr.bin/mandoc/main.c index 41fb88516ee..07aa68222bd 100644 --- a/usr.bin/mandoc/main.c +++ b/usr.bin/mandoc/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.152 2015/10/11 21:06:59 schwarze Exp $ */ +/* $OpenBSD: main.c,v 1.153 2015/10/12 00:07:27 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -675,13 +675,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; @@ -862,7 +858,6 @@ woptions(struct curparse *curp, char *arg) curp->wstop = 1; break; case 1: - /* FALLTHROUGH */ case 2: curp->wlevel = MANDOCLEVEL_WARNING; break; |