summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2002-11-21 20:23:11 +0000
committerWalter Dörwald <walter@livinglogic.de>2002-11-21 20:23:11 +0000
commit0eade638617ada1b7b267fddc7a30b51596c88cf (patch)
treef60aa84898bfc391478d72e1f80d12949c7f86ea /Python
parent8273a3e31e591eb5b60bb5aaabc0b367abd75ffa (diff)
downloadcpython-0eade638617ada1b7b267fddc7a30b51596c88cf.tar.gz
Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that
the --disable-unicode build doesn't complain about an unused variable.
Diffstat (limited to 'Python')
-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) {