From ddcec5f589a07e87775bdae5e80b8d708d904a6a 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 | 3 ++- mdoc_html.c | 4 ++-- 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 * @@ -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 * @@ -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 v1.2.3-56-ge451