diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-25 12:32:50 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2009-02-25 12:32:50 +0000 |
commit | 2cafdf2a4b325553b7a37c10f6abc2723984cfcb (patch) | |
tree | f6cfd7c020031c26afb39a1dc9f31ea6a77ecf21 /validate.c | |
parent | 8f3ec82bd3ba7aa8787e16c8c71de3b052b4866a (diff) | |
download | mandoc-2cafdf2a4b325553b7a37c10f6abc2723984cfcb.tar.gz |
NetBSD Lintified.
Diffstat (limited to 'validate.c')
-rw-r--r-- | validate.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -481,7 +481,7 @@ check_text(struct mdoc *mdoc, size_t line, size_t pos, const char *p) size_t c; for ( ; *p; p++) { - if ( ! isprint(*p) && '\t' != *p) + if ( ! isprint((int)*p) && '\t' != *p) return(mdoc_perr(mdoc, line, pos, "invalid characters")); if ('\\' != *p) @@ -540,7 +540,7 @@ pre_display(PRE_ARGS) static int pre_bl(PRE_ARGS) { - int type, err, i; + int type, i; struct mdoc_arg *argv; size_t argc; @@ -552,7 +552,7 @@ pre_bl(PRE_ARGS) /* Make sure that only one type of list is specified. */ /* LINTED */ - for (i = 0, type = err = 0; i < (int)argc; i++) { + for (i = 0, type = 0; i < (int)argc; i++) { argv = &n->data.block.argv[i]; switch (argv->arg) { |