diff options
author | 2015-10-12 00:07:27 +0000 | |
---|---|---|
committer | 2015-10-12 00:07:27 +0000 | |
commit | 9630d74cbc53981e988b8b430ffb0b3c2f923d3f (patch) | |
tree | 9492d825eb21f1ed0c8a192578aaf079a0310940 /usr.bin/mandoc/man_term.c | |
parent | Pass unsigned char to isdigit(3). (diff) | |
download | wireguard-openbsd-9630d74cbc53981e988b8b430ffb0b3c2f923d3f.tar.xz wireguard-openbsd-9630d74cbc53981e988b8b430ffb0b3c2f923d3f.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 'usr.bin/mandoc/man_term.c')
-rw-r--r-- | usr.bin/mandoc/man_term.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/usr.bin/mandoc/man_term.c b/usr.bin/mandoc/man_term.c index d51182c28a6..3a08cc62f87 100644 --- a/usr.bin/mandoc/man_term.c +++ b/usr.bin/mandoc/man_term.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_term.c,v 1.138 2015/10/06 18:30:43 schwarze Exp $ */ +/* $OpenBSD: man_term.c,v 1.139 2015/10/12 00:07:27 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -369,14 +369,11 @@ pre_ft(DECL_ARGS) cp = n->child->string; switch (*cp) { case '4': - /* FALLTHROUGH */ case '3': - /* FALLTHROUGH */ case 'B': term_fontrepl(p, TERMFONT_BOLD); break; case '2': - /* FALLTHROUGH */ case 'I': term_fontrepl(p, TERMFONT_UNDER); break; @@ -384,9 +381,7 @@ pre_ft(DECL_ARGS) term_fontlast(p); break; case '1': - /* FALLTHROUGH */ case 'C': - /* FALLTHROUGH */ case 'R': term_fontrepl(p, TERMFONT_NONE); break; @@ -447,15 +442,10 @@ pre_sp(DECL_ARGS) if ((NULL == n->prev && n->parent)) { switch (n->parent->tok) { case MAN_SH: - /* FALLTHROUGH */ case MAN_SS: - /* FALLTHROUGH */ case MAN_PP: - /* FALLTHROUGH */ case MAN_LP: - /* FALLTHROUGH */ case MAN_P: - /* FALLTHROUGH */ return 0; default: break; |