diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-12 00:08:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-10-12 00:08:15 +0000 |
commit | 95ec7b52881820b8d6d9d9497b358d00a856ca28 (patch) | |
tree | bc972436bf5b40600e26a4629ae008072ef788f7 /tbl_layout.c | |
parent | 511aaa109533ca3acc1464c1795ba3ac8dc4c732 (diff) | |
download | mandoc-95ec7b52881820b8d6d9d9497b358d00a856ca28.tar.gz mandoc-95ec7b52881820b8d6d9d9497b358d00a856ca28.tar.zst mandoc-95ec7b52881820b8d6d9d9497b358d00a856ca28.zip |
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 'tbl_layout.c')
-rw-r--r-- | tbl_layout.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/tbl_layout.c b/tbl_layout.c index 450ccaa0..c0eafbdd 100644 --- a/tbl_layout.c +++ b/tbl_layout.c @@ -1,4 +1,4 @@ -/* $Id: tbl_layout.c,v 1.40 2015/10/06 18:32:20 schwarze Exp $ */ +/* $Id: tbl_layout.c,v 1.41 2015/10/12 00:08:16 schwarze Exp $ */ /* * Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2012, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org> @@ -115,7 +115,6 @@ mod: ln, *pos, "m"); goto mod; case 'p': - /* FALLTHROUGH */ case 'v': if (p[*pos] == '-' || p[*pos] == '+') (*pos)++; @@ -168,17 +167,14 @@ mod: switch (p[(*pos)++]) { case '3': - /* FALLTHROUGH */ case 'B': cp->flags |= TBL_CELL_BOLD; goto mod; case '2': - /* FALLTHROUGH */ case 'I': cp->flags |= TBL_CELL_ITALIC; goto mod; case '1': - /* FALLTHROUGH */ case 'R': goto mod; default: |