From 95ec7b52881820b8d6d9d9497b358d00a856ca28 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. --- mdoc.c | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) (limited to 'mdoc.c') diff --git a/mdoc.c b/mdoc.c index 7694f1ff..a6509722 100644 --- a/mdoc.c +++ b/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.253 2015/10/06 18:32:19 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.254 2015/10/12 00:08:15 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012-2015 Ingo Schwarze @@ -182,13 +182,9 @@ mdoc_block_alloc(struct roff_man *mdoc, int line, int pos, switch (tok) { case MDOC_Bd: - /* FALLTHROUGH */ case MDOC_Bf: - /* FALLTHROUGH */ case MDOC_Bl: - /* FALLTHROUGH */ case MDOC_En: - /* FALLTHROUGH */ case MDOC_Rs: p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); break; @@ -472,25 +468,17 @@ mdoc_isdelim(const char *p) if ('\0' == p[1]) switch (p[0]) { case '(': - /* FALLTHROUGH */ case '[': return DELIM_OPEN; case '|': return DELIM_MIDDLE; case '.': - /* FALLTHROUGH */ case ',': - /* FALLTHROUGH */ case ';': - /* FALLTHROUGH */ case ':': - /* FALLTHROUGH */ case '?': - /* FALLTHROUGH */ case '!': - /* FALLTHROUGH */ case ')': - /* FALLTHROUGH */ case ']': return DELIM_CLOSE; default: -- cgit v1.2.3-56-ge451