diff options
author | Benjamin Peterson <benjamin@python.org> | 2014-03-15 02:53:51 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2014-03-15 02:53:51 (GMT) |
commit | 45c9dceb569a7bacc27ff59cbf3964179ca3b09b (patch) | |
tree | e8b9aa6fd44d8b3e33a19e09403c22b9ea1af2de /Objects | |
parent | 041c38a790cb9ce14742765e3314d90a7c601809 (diff) | |
download | cpython-45c9dceb569a7bacc27ff59cbf3964179ca3b09b.zip cpython-45c9dceb569a7bacc27ff59cbf3964179ca3b09b.tar.gz cpython-45c9dceb569a7bacc27ff59cbf3964179ca3b09b.tar.bz2 |
fix c89 declaration order
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/longobject.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index e2d95ae..2245ece 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -36,8 +36,9 @@ Py_ssize_t quick_int_allocs, quick_neg_int_allocs; static PyObject * get_small_int(sdigit ival) { + PyObject *v; assert(-NSMALLNEGINTS <= ival && ival < NSMALLPOSINTS); - PyObject *v = (PyObject *)&small_ints[ival + NSMALLNEGINTS]; + v = (PyObject *)&small_ints[ival + NSMALLNEGINTS]; Py_INCREF(v); #ifdef COUNT_ALLOCS if (ival >= 0) |