summaryrefslogtreecommitdiffstats
path: root/man_validate.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-03-17 11:56:17 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-03-17 11:56:17 +0000
commitc9b2f541bb03d6ea693bb24850f1a6f88dfa2d36 (patch)
tree9e5e1d92bb164c1ab410e752608264fd65b34741 /man_validate.c
parentb8834ed2b38344025a694c113bdc5c9247d8dc7e (diff)
downloadmandoc-c9b2f541bb03d6ea693bb24850f1a6f88dfa2d36.tar.gz
Clean-up in libman: make all calls to man_*msg not check return value.
Also convert man_vmsg to return void.
Diffstat (limited to 'man_validate.c')
-rw-r--r--man_validate.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/man_validate.c b/man_validate.c
index 07fe1051..eba9cf6d 100644
--- a/man_validate.c
+++ b/man_validate.c
@@ -223,9 +223,8 @@ check_text(CHKARGS)
if ('\t' == *p) {
if (MAN_LITERAL & m->flags)
continue;
- if (man_pmsg(m, n->line, pos, MANDOCERR_BADTAB))
- continue;
- return(0);
+ man_pmsg(m, n->line, pos, MANDOCERR_BADTAB);
+ continue;
}
/* Check the special character. */