mirror of
https://github.com/python/cpython.git
synced 2025-08-22 09:45:06 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -254,9 +254,9 @@ _Py_char2wchar(const char* arg, size_t *size)
|
||||||
wchar_t *res;
|
wchar_t *res;
|
||||||
size_t argsize;
|
size_t argsize;
|
||||||
size_t count;
|
size_t count;
|
||||||
|
#ifdef HAVE_MBRTOWC
|
||||||
unsigned char *in;
|
unsigned char *in;
|
||||||
wchar_t *out;
|
wchar_t *out;
|
||||||
#ifdef HAVE_MBRTOWC
|
|
||||||
mbstate_t mbs;
|
mbstate_t mbs;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue