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 /man_term.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 'man_term.c')
-rw-r--r-- | man_term.c | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -1,4 +1,4 @@ -/* $Id: man_term.c,v 1.185 2015/10/06 18:32:19 schwarze Exp $ */ +/* $Id: man_term.c,v 1.186 2015/10/12 00:08:15 schwarze Exp $ */ /* * Copyright (c) 2008-2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -371,14 +371,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; @@ -386,9 +383,7 @@ pre_ft(DECL_ARGS) term_fontlast(p); break; case '1': - /* FALLTHROUGH */ case 'C': - /* FALLTHROUGH */ case 'R': term_fontrepl(p, TERMFONT_NONE); break; @@ -449,15 +444,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; |