aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/out.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-10-12 00:08:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-10-12 00:08:15 +0000
commit95ec7b52881820b8d6d9d9497b358d00a856ca28 (patch)
treebc972436bf5b40600e26a4629ae008072ef788f7 /out.c
parent511aaa109533ca3acc1464c1795ba3ac8dc4c732 (diff)
downloadmandoc-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 'out.c')
-rw-r--r--out.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/out.c b/out.c
index 6effb29b..aff35583 100644
--- a/out.c
+++ b/out.c
@@ -1,4 +1,4 @@
-/* $Id: out.c,v 1.61 2015/10/06 18:32:19 schwarze Exp $ */
+/* $Id: out.c,v 1.62 2015/10/12 00:08:16 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2011, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -240,18 +240,14 @@ tblcalc_data(struct rofftbl *tbl, struct roffcol *col,
switch (dp->layout->pos) {
case TBL_CELL_HORIZ:
- /* FALLTHROUGH */
case TBL_CELL_DHORIZ:
sz = (*tbl->len)(1, tbl->arg);
if (col->width < sz)
col->width = sz;
break;
case TBL_CELL_LONG:
- /* FALLTHROUGH */
case TBL_CELL_CENTRE:
- /* FALLTHROUGH */
case TBL_CELL_LEFT:
- /* FALLTHROUGH */
case TBL_CELL_RIGHT:
tblcalc_literal(tbl, col, dp);
break;