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 /tree.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 'tree.c')
-rw-r--r-- | tree.c | 7 |
1 files changed, 1 insertions, 6 deletions
@@ -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; |