aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit3e6a72ed7b563e04635c28fcb556c3203eb58f58 (patch)
tree0a71f4626b257d539e145aa3683d0038a0c195c3 /roff.c
parent41adc72e761bdad350233dd0d9a96b77cef27871 (diff)
downloadmandoc-3e6a72ed7b563e04635c28fcb556c3203eb58f58.tar.gz
mandoc-3e6a72ed7b563e04635c28fcb556c3203eb58f58.tar.zst
mandoc-3e6a72ed7b563e04635c28fcb556c3203eb58f58.zip
/* NOTREACHED */ after abort() is silly, delete it
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/roff.c b/roff.c
index 56259162..32e98c5c 100644
--- a/roff.c
+++ b/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.275 2015/08/29 23:56:01 schwarze Exp $ */
+/* $Id: roff.c,v 1.276 2015/09/26 00:54:04 schwarze Exp $ */
/*
* Copyright (c) 2008-2012, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -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;