From dffda2eaf9e219e417fe1d584e28ede378bf0a03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Thu, 21 Nov 2002 20:23:11 +0000 Subject: Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that the --disable-unicode build doesn't complain about an unused variable. --- Python/getargs.c | 2 ++ 1 file changed, 2 insertions(+) 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) { -- cgit v0.12