]> git.cameronkatri.com Git - mandoc.git/blobdiff - tree.c
To make the code more readable, delete 283 /* FALLTHROUGH */ comments
[mandoc.git] / tree.c
diff --git a/tree.c b/tree.c
index 56cc3966388c48b72b97cbb3382bbea32e62adbe..52ca7547f44364bdd439f1aac2e558072166b445 100644 (file)
--- 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;