From: Walter Dörwald Date: Thu, 21 Nov 2002 20:23:11 +0000 (+0000) Subject: Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that X-Git-Tag: v2.3c1~3329 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dffda2eaf9e219e417fe1d584e28ede378bf0a03;p=python Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that the --disable-unicode build doesn't complain about an unused variable. --- 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) {