Fix a compiler warning: in and out are unused in _Py_char2wchar() if
HAVE_MBRTOWC is not defined
This commit is contained in:
parent
c41917f4cb
commit
313f10c722
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue