From fbff9ee46a559d73c82da37fb8135d5d4f3c1760 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Fri, 25 Sep 2009 13:00:13 +0000 Subject: Lint check (noop). --- mdoc_action.c | 1 + mdoc_html.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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'; -- cgit