diff options
| author | Thomas Wouters <thomas@python.org> | 2006-02-15 23:08:56 +0000 |
|---|---|---|
| committer | Thomas Wouters <thomas@python.org> | 2006-02-15 23:08:56 +0000 |
| commit | b1410fb4337fcf849c6d1ec76a7fb1e2c12c2508 (patch) | |
| tree | 60e8be30298316a960215e69332103bb0e65b0f0 /Objects/intobject.c | |
| parent | 55aafab04f281e3f09a0e36e501c774df1eb70fb (diff) | |
| download | cpython-git-b1410fb4337fcf849c6d1ec76a7fb1e2c12c2508.tar.gz | |
Avoid unused variables when SIZEOF_SIZE_T == SIZEOF_LONG. Also normalize
whitespace.
Diffstat (limited to 'Objects/intobject.c')
| -rw-r--r-- | Objects/intobject.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c index d1b9599622..232b2d234a 100644 --- a/Objects/intobject.c +++ b/Objects/intobject.c @@ -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 |
