Commit 313f10c7 authored by Victor Stinner's avatar Victor Stinner

Fix a compiler warning: in and out are unused in _Py_char2wchar() if

HAVE_MBRTOWC is not defined
parent c41917f4
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment