From: Victor Stinner Date: Tue, 7 May 2013 21:48:56 +0000 (+0200) Subject: Fix a compiler warning: in and out are unused in _Py_char2wchar() if X-Git-Tag: v3.4.0a1~771 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=313f10c7224feb938f0d2de85455761ec371d382;p=python Fix a compiler warning: in and out are unused in _Py_char2wchar() if HAVE_MBRTOWC is not defined --- diff --git a/Python/fileutils.c b/Python/fileutils.c index 3c04e4969e..bb0cd43500 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