From 66cfe68f0233b3c301173c3bec7198336d19b416 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Mon, 12 Oct 2015 00:08:15 +0000 Subject: 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. --- man_validate.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'man_validate.c') diff --git a/man_validate.c b/man_validate.c index 59baf88a..490c68e6 100644 --- a/man_validate.c +++ b/man_validate.c @@ -117,7 +117,6 @@ man_valid_post(struct roff_man *man) check_root(man, n); break; case ROFFT_EQN: - /* FALLTHROUGH */ case ROFFT_TBL: break; default: @@ -207,17 +206,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; @@ -499,7 +492,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], -- cgit