mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue