Commit 3bae65ba authored by Christian Heimes's avatar Christian Heimes

Fixed a compiler warning

parent ba55818a
...@@ -517,10 +517,12 @@ test_u_code(PyObject *self) ...@@ -517,10 +517,12 @@ test_u_code(PyObject *self)
PyObject *tuple, *obj; PyObject *tuple, *obj;
Py_UNICODE *value; Py_UNICODE *value;
Py_ssize_t len; Py_ssize_t len;
int x;
/* issue4122: Undefined reference to _Py_ascii_whitespace on Windows */ /* issue4122: Undefined reference to _Py_ascii_whitespace on Windows */
/* Just use the macro and check that it compiles */ /* 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); tuple = PyTuple_New(1);
if (tuple == NULL) if (tuple == NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment