summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2009-09-25 13:00:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2009-09-25 13:00:13 +0000
commitfbff9ee46a559d73c82da37fb8135d5d4f3c1760 (patch)
treef3e1a7558233c0a84e8f25d3e826a32885f26eeb
parentf8aa4137921c2e27cf2f171f323cb6b481b01332 (diff)
downloadmandoc-fbff9ee46a559d73c82da37fb8135d5d4f3c1760.tar.gz
Lint check (noop).
-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';