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 | 66cfe68f0233b3c301173c3bec7198336d19b416 (patch) | |
tree | e9821fa61c6ae680cfa8b6a303737a9f3d9518d6 /mdoc.c | |
parent | 0874c59dbe39089dbe25a81d4eb19ebc63baa9ad (diff) | |
download | mandoc-66cfe68f0233b3c301173c3bec7198336d19b416.tar.gz |
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 'mdoc.c')
-rw-r--r-- | mdoc.c | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -182,13 +182,9 @@ mdoc_block_alloc(struct roff_man *mdoc, int line, int pos, switch (tok) { case MDOC_Bd: - /* FALLTHROUGH */ case MDOC_Bf: - /* FALLTHROUGH */ case MDOC_Bl: - /* FALLTHROUGH */ case MDOC_En: - /* FALLTHROUGH */ case MDOC_Rs: p->norm = mandoc_calloc(1, sizeof(union mdoc_data)); break; @@ -472,25 +468,17 @@ mdoc_isdelim(const char *p) if ('\0' == p[1]) switch (p[0]) { case '(': - /* FALLTHROUGH */ case '[': return DELIM_OPEN; case '|': return DELIM_MIDDLE; case '.': - /* FALLTHROUGH */ case ',': - /* FALLTHROUGH */ case ';': - /* FALLTHROUGH */ case ':': - /* FALLTHROUGH */ case '?': - /* FALLTHROUGH */ case '!': - /* FALLTHROUGH */ case ')': - /* FALLTHROUGH */ case ']': return DELIM_CLOSE; default: |