aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tree.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 /tree.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 'tree.c')
-rw-r--r--tree.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/tree.c b/tree.c
index 56cc3966..52ca7547 100644
--- a/tree.c
+++ b/tree.c
@@ -1,4 +1,4 @@
-/* $Id: tree.c,v 1.68 2015/09/26 12:55:16 schwarze Exp $ */
+/* $Id: tree.c,v 1.69 2015/10/12 00:08:16 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2013, 2014, 2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -224,11 +224,8 @@ print_man(const struct roff_node *n, int indent)
p = n->string;
break;
case ROFFT_ELEM:
- /* FALLTHROUGH */
case ROFFT_BLOCK:
- /* FALLTHROUGH */
case ROFFT_HEAD:
- /* FALLTHROUGH */
case ROFFT_BODY:
p = man_macronames[n->tok];
break;
@@ -357,12 +354,10 @@ print_span(const struct tbl_span *sp, int indent)
for (dp = sp->first; dp; dp = dp->next) {
switch (dp->pos) {
case TBL_DATA_HORIZ:
- /* FALLTHROUGH */
case TBL_DATA_NHORIZ:
putchar('-');
continue;
case TBL_DATA_DHORIZ:
- /* FALLTHROUGH */
case TBL_DATA_NDHORIZ:
putchar('=');
continue;