mirror of https://github.com/python/cpython
Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that
the --disable-unicode build doesn't complain about an unused variable.
This commit is contained in:
parent
3b918c3787
commit
dffda2eaf9
|
@ -400,7 +400,9 @@ convertsimple(PyObject *arg, char **p_format, va_list *p_va, char *msgbuf,
|
||||||
{
|
{
|
||||||
char *format = *p_format;
|
char *format = *p_format;
|
||||||
char c = *format++;
|
char c = *format++;
|
||||||
|
#ifdef Py_USING_UNICODE
|
||||||
PyObject *uarg;
|
PyObject *uarg;
|
||||||
|
#endif
|
||||||
|
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue