mirror of
https://github.com/python/cpython.git
synced 2025-09-27 18:59:43 +00:00
Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore
This commit is contained in:
parent
91156ff3f1
commit
44afe2b35a
1 changed files with 0 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue