commit | 313f10c7224feb938f0d2de85455761ec371d382 | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue May 07 23:48:56 2013 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue May 07 23:48:56 2013 +0200 |
tree | 5a5f25c34e14b93ce3aa3b0d13e4bb90f37c6103 | |
parent | c41917f4cb1287cddd36b78079a051bda6c42e40 [diff] [blame] |
Fix a compiler warning: in and out are unused in _Py_char2wchar() if HAVE_MBRTOWC is not defined
diff --git a/Python/fileutils.c b/Python/fileutils.c index 3c04e49..bb0cd43 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c
@@ -254,9 +254,9 @@ 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