summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2002-11-21 20:23:11 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2002-11-21 20:23:11 (GMT)
commitdffda2eaf9e219e417fe1d584e28ede378bf0a03 (patch)
treeebb5889bbce794238d6a803488a387858d390294 /Python
parent3b918c3787583aca1563a4f9f26371983c4bc388 (diff)
downloadcpython-dffda2eaf9e219e417fe1d584e28ede378bf0a03.zip
cpython-dffda2eaf9e219e417fe1d584e28ede378bf0a03.tar.gz
cpython-dffda2eaf9e219e417fe1d584e28ede378bf0a03.tar.bz2
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 cc0409d..58ef2a3 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) {