summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-11-28 17:24:41 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-11-28 17:24:41 +0000
commit51f9cec4efd7d8933b59dad631602cf4d70bdc0d (patch)
tree7f62dd2b7f0ec8dc28c94f74654e868e097528d4
parent7650e7c30edda619a052a896d1898ee9fd36b907 (diff)
downloadmandoc-51f9cec4efd7d8933b59dad631602cf4d70bdc0d.tar.gz
kill a pointless assert
-rw-r--r--mdoc_validate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 04e414ed..4692edab 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -942,10 +942,7 @@ post_lb(POST_ARGS)
char *libname;
check_count(mdoc, MDOC_ELEM, CHECK_WARN, CHECK_EQ, 1);
-
n = mdoc->last->child;
-
- assert(n);
assert(MDOC_TEXT == n->type);
if (NULL == (stdlibname = mdoc_a2lib(n->string)))