From bec2e37e16be5b57221695c84277413c81427c3d Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 10 Jun 2015 19:17:15 +0000 Subject: Avoid warning "unused variable" when compiling without HAVE_WCHAR. Issue found on Debian by Markus . --- term_ascii.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'term_ascii.c') diff --git a/term_ascii.c b/term_ascii.c index 7abbb91f..a66fa77a 100644 --- a/term_ascii.c +++ b/term_ascii.c @@ -1,4 +1,4 @@ -/* $Id: term_ascii.c,v 1.45 2015/04/04 17:47:18 schwarze Exp $ */ +/* $Id: term_ascii.c,v 1.46 2015/06/10 19:17:15 schwarze Exp $ */ /* * Copyright (c) 2010, 2011 Kristaps Dzonsons * Copyright (c) 2014, 2015 Ingo Schwarze @@ -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)); -- cgit v1.2.3