summaryrefslogtreecommitdiffstatshomepage
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
commitddcec5f589a07e87775bdae5e80b8d708d904a6a (patch)
tree95201d41a71fda089a33fc4800b9b60bd81de291
parenteff101cc3392a94562dbdee2983067415b7c867a (diff)
downloadmandoc-ddcec5f589a07e87775bdae5e80b8d708d904a6a.tar.gz
mandoc-ddcec5f589a07e87775bdae5e80b8d708d904a6a.tar.zst
mandoc-ddcec5f589a07e87775bdae5e80b8d708d904a6a.zip
Lint check (noop).
-rw-r--r--mdoc_action.c3
-rw-r--r--mdoc_html.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/mdoc_action.c b/mdoc_action.c
index a5c8cb0a..844e1bf6 100644
--- a/mdoc_action.c
+++ b/mdoc_action.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_action.c,v 1.40 2009/09/24 15:08:41 kristaps Exp $ */
+/* $Id: mdoc_action.c,v 1.41 2009/09/25 13:03:25 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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 e7183b57..feb04db4 100644
--- a/mdoc_html.c
+++ b/mdoc_html.c
@@ -1,4 +1,4 @@
-/* $Id: mdoc_html.c,v 1.11 2009/09/25 12:43:05 kristaps Exp $ */
+/* $Id: mdoc_html.c,v 1.12 2009/09/25 13:00:13 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009 Kristaps Dzonsons <kristaps@kth.se>
*
@@ -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';