[Python-3000-checkins] r67185 - python/branches/py3k/Modules/_testcapimodule.c

christian.heimes python-3000-checkins at python.org
Tue Nov 11 13:53:39 CET 2008


Author: christian.heimes
Date: Tue Nov 11 13:53:39 2008
New Revision: 67185

Log:
Fixed a compiler warning

Modified:
   python/branches/py3k/Modules/_testcapimodule.c

Modified: python/branches/py3k/Modules/_testcapimodule.c
==============================================================================
--- python/branches/py3k/Modules/_testcapimodule.c	(original)
+++ python/branches/py3k/Modules/_testcapimodule.c	Tue Nov 11 13:53:39 2008
@@ -517,10 +517,12 @@
 	PyObject *tuple, *obj;
 	Py_UNICODE *value;
 	Py_ssize_t len;
+	int x;
 
 	/* issue4122: Undefined reference to _Py_ascii_whitespace on Windows */
 	/* Just use the macro and check that it compiles */
-	int x = Py_UNICODE_ISSPACE(25);
+        x = Py_UNICODE_ISSPACE(25);
+        x = x;
 
         tuple = PyTuple_New(1);
         if (tuple == NULL)


More information about the Python-3000-checkins mailing list