diff Python/fileutils.c @ 83673:2ea629da4f54

Fix a compiler warning: in and out are unused in _Py_char2wchar() if HAVE_MBRTOWC is not defined
author Victor Stinner <victor.stinner@gmail.com>
date Tue, 07 May 2013 23:48:56 +0200
parents c044029ede9d
children 88a21c5a97ef
line wrap: on
line diff
--- a/Python/fileutils.c	Tue May 07 14:36:51 2013 +0100
+++ b/Python/fileutils.c	Tue May 07 23:48:56 2013 +0200
@@ -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