summaryrefslogtreecommitdiffstats
path: root/Objects/longobject.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-03-15 02:54:41 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-03-15 02:54:41 (GMT)
commit1aca78da621f9818b69782cd559f1acae8ddd42a (patch)
tree80efafc6be67aa03d582eac9eab9afd2727b982c /Objects/longobject.c
parentdfa822811a1a39cbf7cefc747b7b642a6c6e1357 (diff)
parentef87f8cb57e147b48665c06b41ac10b5cf4904c4 (diff)
downloadcpython-1aca78da621f9818b69782cd559f1acae8ddd42a.zip
cpython-1aca78da621f9818b69782cd559f1acae8ddd42a.tar.gz
cpython-1aca78da621f9818b69782cd559f1acae8ddd42a.tar.bz2
merge 3.3
Diffstat (limited to 'Objects/longobject.c')
-rw-r--r--Objects/longobject.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c
index fb47c70..7036c0e 100644
--- a/Objects/longobject.c
+++ b/Objects/longobject.c
@@ -37,8 +37,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)