Discussion:
[Python-3000-checkins] r67185 - python/branches/py3k/Modules/_testcapimodule.c
christian.heimes
2008-11-11 12:53:39 UTC
Permalink
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)

Loading...