diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-06-10 19:17:15 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-06-10 19:17:15 +0000 |
commit | 81ab76a469deb14c73623f6d1eeb1b45e8991f12 (patch) | |
tree | 1d55dbd2778f744ef3e1aeb42274849cad68b509 /term_ascii.c | |
parent | 5f583ef2a3779e8da83ba709d6e52a4f02128944 (diff) | |
download | mandoc-81ab76a469deb14c73623f6d1eeb1b45e8991f12.tar.gz |
Avoid warning "unused variable" when compiling without HAVE_WCHAR.
Issue found on Debian by Markus <Waldeck at gmx dot de>.
Diffstat (limited to 'term_ascii.c')
-rw-r--r-- | term_ascii.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/term_ascii.c b/term_ascii.c index 908f3182..d210c812 100644 --- a/term_ascii.c +++ b/term_ascii.c @@ -62,7 +62,9 @@ static struct termp * ascii_init(enum termenc enc, const struct mchars *mchars, const struct manoutput *outopts) { +#if HAVE_WCHAR char *v; +#endif struct termp *p; p = mandoc_calloc(1, sizeof(struct termp)); |