summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-26 00:53:16 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-09-26 00:53:16 +0000
commit70f16a4414532f034bca255aab50b579deadecb8 (patch)
tree1e1c97ac3318a26be24933607f63ba69a407c77a /usr.bin/mandoc/roff.c
parentc692ae8724dc648c2ba595d2a6957430b2fda7aa (diff)
/* NOTREACHED */ after abort() is silly, delete it
Diffstat (limited to 'usr.bin/mandoc/roff.c')
-rw-r--r--usr.bin/mandoc/roff.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/mandoc/roff.c b/usr.bin/mandoc/roff.c
index 7d67d434ded..23ec4aa401b 100644
--- a/usr.bin/mandoc/roff.c
+++ b/usr.bin/mandoc/roff.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: roff.c,v 1.147 2015/08/29 23:55:53 schwarze Exp $ */
+/* $OpenBSD: roff.c,v 1.148 2015/09/26 00:53:15 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -1020,7 +1020,6 @@ roff_node_append(struct roff_man *man, struct roff_node *n)
break;
default:
abort();
- /* NOTREACHED */
}
n->parent->nchild++;
n->parent->last = n;
@@ -2058,12 +2057,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;