summaryrefslogtreecommitdiffstats
path: root/mdoc_term.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-07-02 10:53:28 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-07-02 10:53:28 +0000
commit869286ca79b58cee9a78aae60175b751a96ea4ea (patch)
tree1973997130476f4ab6b4e8be93dd52d722bd32e9 /mdoc_term.c
parentaa87cd6fc1c369d78cc8e249a6410769605e6e52 (diff)
downloadmandoc-869286ca79b58cee9a78aae60175b751a96ea4ea.tar.gz
Lint fixes.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r--mdoc_term.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mdoc_term.c b/mdoc_term.c
index 81073448..642eda34 100644
--- a/mdoc_term.c
+++ b/mdoc_term.c
@@ -2170,15 +2170,18 @@ termp_bk_pre(DECL_ARGS)
switch (n->type) {
case (MDOC_BLOCK):
- return(1);
+ break;
case (MDOC_HEAD):
return(0);
case (MDOC_BODY):
p->flags |= TERMP_PREKEEP;
- return(1);
+ break;
default:
abort();
+ /* NOTREACHED */
}
+
+ return(1);
}