aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/main.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 16:18:39 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-01-01 16:18:39 +0000
commit9ccd8b3e4376fa371cffa2cc59bb4e395f16bf6b (patch)
tree65215cd4085e58f81ce536690469b9d17f08a453 /main.c
parent6fe32c3b53980dd4c549b459bbf7efae0b6352b9 (diff)
downloadmandoc-9ccd8b3e4376fa371cffa2cc59bb4e395f16bf6b.tar.gz
mandoc-9ccd8b3e4376fa371cffa2cc59bb4e395f16bf6b.tar.zst
mandoc-9ccd8b3e4376fa371cffa2cc59bb4e395f16bf6b.zip
More checks for proper table exit.
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/main.c b/main.c
index 6b101492..d028a810 100644
--- a/main.c
+++ b/main.c
@@ -1,4 +1,4 @@
-/* $Id: main.c,v 1.129 2011/01/01 15:45:18 kristaps Exp $ */
+/* $Id: main.c,v 1.130 2011/01/01 16:18:39 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010 Ingo Schwarze <schwarze@openbsd.org>
@@ -527,10 +527,7 @@ fdesc(struct curparse *curp)
}
assert(curp->roff);
- if ( ! roff_endparse(curp->roff)) {
- assert(MANDOCLEVEL_FATAL <= file_status);
- goto cleanup;
- }
+ roff_endparse(curp->roff);
/*
* With -Wstop and warnings or errors of at least