summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mdoc_action.c1
-rw-r--r--mdoc_html.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index 8df7a457..4acb1d29 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -934,6 +934,7 @@ order_rs(int t)
}
+/* ARGSUSED */
static int
post_rs(POST_ARGS)
{
diff --git a/mdoc_html.c b/mdoc_html.c
index 0e2ae182..b3a31116 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1597,7 +1597,7 @@ mdoc_fn_pre(MDOC_ARGS)
assert(n->child->string);
sp = n->child->string;
- while ((ep = strchr(sp, ' '))) {
+ while (NULL != (ep = strchr(sp, ' '))) {
sz = MIN((int)(ep - sp), BUFSIZ - 1);
(void)memcpy(nbuf, sp, (size_t)sz);
nbuf[sz] = '\0';