Browse Source

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

HAVE_MBRTOWC is not defined
pull/224/head
Victor Stinner 13 years ago
parent
commit
313f10c722
  1. 2
      Python/fileutils.c

2
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

Loading…
Cancel
Save