diff options
author | Christian Heimes <christian@cheimes.de> | 2008-11-11 12:53:39 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2008-11-11 12:53:39 (GMT) |
commit | 3bae65bacdc7c03e665fabb2065c740358ac362f (patch) | |
tree | 28f14bfea00d42ed2a9df9bd85241a8aeafc2072 /Modules/_testcapimodule.c | |
parent | ba55818a3a0b96192fe9a43d13912baa58306ab0 (diff) | |
download | cpython-3bae65bacdc7c03e665fabb2065c740358ac362f.zip cpython-3bae65bacdc7c03e665fabb2065c740358ac362f.tar.gz cpython-3bae65bacdc7c03e665fabb2065c740358ac362f.tar.bz2 |
Fixed a compiler warning
Diffstat (limited to 'Modules/_testcapimodule.c')
-rw-r--r-- | Modules/_testcapimodule.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Modules/_testcapimodule.c b/Modules/_testcapimodule.c index 4d2e831..3ae5461 100644 --- a/Modules/_testcapimodule.c +++ b/Modules/_testcapimodule.c @@ -517,10 +517,12 @@ test_u_code(PyObject *self) 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) |