Kaydet (Commit) dffda2ea authored tarafından Walter Dörwald's avatar Walter Dörwald

Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that

the --disable-unicode build doesn't complain about an
unused variable.
üst 3b918c37
...@@ -400,7 +400,9 @@ convertsimple(PyObject *arg, char **p_format, va_list *p_va, char *msgbuf, ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment