summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Python/getargs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/getargs.c b/Python/getargs.c
index cc0409dccc..58ef2a3fe9 100644
--- a/Python/getargs.c
+++ b/Python/getargs.c
@@ -400,7 +400,9 @@ convertsimple(PyObject *arg, char **p_format, va_list *p_va, char *msgbuf,
{
char *format = *p_format;
char c = *format++;
+#ifdef Py_USING_UNICODE
PyObject *uarg;
+#endif
switch (c) {