Commit 44afe2b3 authored by Victor Stinner's avatar Victor Stinner

Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore

parent 91156ff3
...@@ -156,7 +156,6 @@ weakref_hash(PyWeakReference *self) ...@@ -156,7 +156,6 @@ weakref_hash(PyWeakReference *self)
static PyObject * static PyObject *
weakref_repr(PyWeakReference *self) weakref_repr(PyWeakReference *self)
{ {
char buffer[256];
PyObject *name, *repr; PyObject *name, *repr;
if (PyWeakref_GET_OBJECT(self) == Py_None) if (PyWeakref_GET_OBJECT(self) == Py_None)
......
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