summaryrefslogtreecommitdiffstats
path: root/Objects/weakrefobject.c
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-03-21 17:10:02 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-03-21 17:10:02 (GMT)
commit44afe2b35a3f82f26d35a2cec507ec6d59e6d6d3 (patch)
treec14cd888bbdaeeab8fa69e2b4839f0ae08451608 /Objects/weakrefobject.c
parent91156ff3f1b0cd62a1771283f080cc2fe4527838 (diff)
downloadcpython-44afe2b35a3f82f26d35a2cec507ec6d59e6d6d3.zip
cpython-44afe2b35a3f82f26d35a2cec507ec6d59e6d6d3.tar.gz
cpython-44afe2b35a3f82f26d35a2cec507ec6d59e6d6d3.tar.bz2
Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore
Diffstat (limited to 'Objects/weakrefobject.c')
-rw-r--r--Objects/weakrefobject.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Objects/weakrefobject.c b/Objects/weakrefobject.c
index 72ecdd0..d0a09d5 100644
--- a/Objects/weakrefobject.c
+++ b/Objects/weakrefobject.c
@@ -156,7 +156,6 @@ weakref_hash(PyWeakReference *self)
static PyObject *
weakref_repr(PyWeakReference *self)
{
- char buffer[256];
PyObject *name, *repr;
if (PyWeakref_GET_OBJECT(self) == Py_None)