diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2013-05-07 23:48:56 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2013-05-07 23:48:56 +0200 |
commit | 14fce4cbce30e3887c13e2e9b727e27b8faa69ba (patch) | |
tree | f9362db69cba3c2c3403158ce248681e5401f924 /Python/fileutils.c | |
parent | ca65c4cb2462ee91ae38bd3030a5d1ff98269a2e (diff) | |
download | cpython-14fce4cbce30e3887c13e2e9b727e27b8faa69ba.tar.gz |
Fix a compiler warning: in and out are unused in _Py_char2wchar() if
HAVE_MBRTOWC is not defined
Diffstat (limited to 'Python/fileutils.c')
-rw-r--r-- | Python/fileutils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/fileutils.c b/Python/fileutils.c index 3c04e4969e..bb0cd43500 100644 --- a/Python/fileutils.c +++ b/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 |