diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-17 11:56:17 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-03-17 11:56:17 +0000 |
commit | c9b2f541bb03d6ea693bb24850f1a6f88dfa2d36 (patch) | |
tree | 9e5e1d92bb164c1ab410e752608264fd65b34741 /man.c | |
parent | b8834ed2b38344025a694c113bdc5c9247d8dc7e (diff) | |
download | mandoc-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.c')
-rw-r--r-- | man.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -622,7 +622,7 @@ err: /* Error out. */ } -int +void man_vmsg(struct man *man, enum mandocerr t, int ln, int pos, const char *fmt, ...) { @@ -632,7 +632,7 @@ man_vmsg(struct man *man, enum mandocerr t, va_start(ap, fmt); vsnprintf(buf, sizeof(buf) - 1, fmt, ap); va_end(ap); - return((*man->msg)(t, man->data, ln, pos, buf)); + (*man->msg)(t, man->data, ln, pos, buf); } |