commit | dffda2eaf9e219e417fe1d584e28ede378bf0a03 | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Thu Nov 21 20:23:11 2002 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Thu Nov 21 20:23:11 2002 +0000 |
tree | ebb5889bbce794238d6a803488a387858d390294 | |
parent | 3b918c3787583aca1563a4f9f26371983c4bc388 [diff] [blame] |
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 cc0409d..58ef2a3 100644 --- a/Python/getargs.c +++ b/Python/getargs.c
@@ -400,7 +400,9 @@ { char *format = *p_format; char c = *format++; +#ifdef Py_USING_UNICODE PyObject *uarg; +#endif switch (c) {