Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore
This commit is contained in:
parent
91156ff3f1
commit
44afe2b35a
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user