From: Victor Stinner Date: Mon, 21 Mar 2011 17:10:02 +0000 (+0100) Subject: Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore X-Git-Tag: v3.3.0a1~2813 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=44afe2b35a3f82f26d35a2cec507ec6d59e6d6d3;p=python Issue #10833: Remove the buffer allocated on the stack, it isn't used anymore --- diff --git a/Objects/weakrefobject.c b/Objects/weakrefobject.c index 72ecdd07a8..d0a09d5b0e 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)