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

HAVE_MBRTOWC is not defined
This commit is contained in:
Victor Stinner 2013-05-07 23:48:56 +02:00
parent c41917f4cb
commit 313f10c722
1 changed files with 1 additions and 1 deletions

View File

@ -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