From 313f10c7224feb938f0d2de85455761ec371d382 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Tue, 7 May 2013 23:48:56 +0200 Subject: [PATCH] Fix a compiler warning: in and out are unused in _Py_char2wchar() if HAVE_MBRTOWC is not defined --- Python/fileutils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/fileutils.c b/Python/fileutils.c index 3c04e4969e2..bb0cd435009 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -254,9 +254,9 @@ _Py_char2wchar(const char* arg, size_t *size) wchar_t *res; size_t argsize; size_t count; +#ifdef HAVE_MBRTOWC unsigned char *in; wchar_t *out; -#ifdef HAVE_MBRTOWC mbstate_t mbs; #endif