diff Python/getargs.c @ 26321:680360e68a06 legacy-trunk

Wrap uargs declaration in a #ifdef Py_USING_UNICODE, so that the --disable-unicode build doesn't complain about an unused variable.
author Walter Dörwald <walter@livinglogic.de>
date Thu, 21 Nov 2002 20:23:11 +0000
parents 81ca6ca5c307
children eb1e529fdfdf
line wrap: on
line diff
--- a/Python/getargs.c	Thu Nov 21 20:18:46 2002 +0000
+++ b/Python/getargs.c	Thu Nov 21 20:23:11 2002 +0000
@@ -400,7 +400,9 @@
 {
 	char *format = *p_format;
 	char c = *format++;
+#ifdef Py_USING_UNICODE
 	PyObject *uarg;
+#endif
 	
 	switch (c) {