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/man_validate.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/man_validate.c')
-rw-r--r-- | usr.bin/mandoc/man_validate.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.bin/mandoc/man_validate.c b/usr.bin/mandoc/man_validate.c index 6d5d7be8722..07dde7381ec 100644 --- a/usr.bin/mandoc/man_validate.c +++ b/usr.bin/mandoc/man_validate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_validate.c,v 1.90 2015/04/19 13:59:37 schwarze Exp $ */ +/* $OpenBSD: man_validate.c,v 1.91 2015/10/12 00:07:27 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -115,7 +115,6 @@ man_valid_post(struct roff_man *man) check_root(man, n); break; case ROFFT_EQN: - /* FALLTHROUGH */ case ROFFT_TBL: break; default: @@ -205,17 +204,11 @@ post_ft(CHKARGS) cp = n->child->string; switch (*cp) { case '1': - /* FALLTHROUGH */ case '2': - /* FALLTHROUGH */ case '3': - /* FALLTHROUGH */ case '4': - /* FALLTHROUGH */ case 'I': - /* FALLTHROUGH */ case 'P': - /* FALLTHROUGH */ case 'R': if ('\0' == cp[1]) ok = 1; @@ -497,7 +490,6 @@ post_vs(CHKARGS) switch (n->parent->tok) { case MAN_SH: - /* FALLTHROUGH */ case MAN_SS: mandoc_vmsg(MANDOCERR_PAR_SKIP, man->parse, n->line, n->pos, "%s after %s", man_macronames[n->tok], |