summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2015-09-26 00:54:03 +0000
committerIngo Schwarze <schwarze@openbsd.org>2015-09-26 00:54:03 +0000
commitcd4599580495e7b8d149487099c19840add8d355 (patch)
tree4f7005815ebe5dc98b126fe472130e0d8da88e96 /roff.c
parent15a545d1196bd2454c341893c1f5150bfff17fd2 (diff)
downloadmandoc-cd4599580495e7b8d149487099c19840add8d355.tar.gz
/* NOTREACHED */ after abort() is silly, delete it
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/roff.c b/roff.c
index 0da8b963..e5aa011f 100644
--- a/roff.c
+++ b/roff.c
@@ -1022,7 +1022,6 @@ roff_node_append(struct roff_man *man, struct roff_node *n)
break;
default:
abort();
- /* NOTREACHED */
}
n->parent->nchild++;
n->parent->last = n;
@@ -2060,12 +2059,12 @@ roff_getnum(const char *v, int *pos, int *res, int flags)
scaled = *res * 240 / 2.54;
break;
case 'v':
- /* FALLTROUGH */
+ /* FALLTHROUGH */
case 'P':
scaled = *res * 40;
break;
case 'm':
- /* FALLTROUGH */
+ /* FALLTHROUGH */
case 'n':
scaled = *res * 24;
break;