summaryrefslogtreecommitdiffstats
path: root/mdoc_validate.c
diff options
context:
space:
mode:
Diffstat (limited to 'mdoc_validate.c')
-rw-r--r--mdoc_validate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdoc_validate.c b/mdoc_validate.c
index 384fe669..7e6dddf1 100644
--- a/mdoc_validate.c
+++ b/mdoc_validate.c
@@ -1219,6 +1219,7 @@ post_sh_body(POST_ARGS)
return(0);
}
+ assert(n);
if (MDOC_BLOCK == n->type && MDOC_Nd == n->tok)
return(1);
return(mdoc_nwarn(mdoc, mdoc->last, ENAMESECINC));