Commit b1410fb4 authored by Thomas Wouters's avatar Thomas Wouters

Avoid unused variables when SIZEOF_SIZE_T == SIZEOF_LONG. Also normalize

whitespace.
parent 55aafab0
......@@ -188,12 +188,14 @@ PyInt_AsLong(register PyObject *op)
Py_ssize_t
PyInt_AsSsize_t(register PyObject *op)
{
#if SIZEOF_SIZE_T != SIZEOF_LONG
PyNumberMethods *nb;
PyIntObject *io;
Py_ssize_t val;
#endif
if (op && !PyInt_CheckExact(op) && PyLong_Check(op))
return _PyLong_AsSsize_t(op);
#if SIZEOF_SIZE_T==SIZEOF_LONG
#if SIZEOF_SIZE_T == SIZEOF_LONG
return PyInt_AsLong(op);
#else
......
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