We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1617961 commit 4ccc377Copy full SHA for 4ccc377
1 file changed
Objects/weakrefobject.c
@@ -575,7 +575,6 @@ _proxy_unwrap(PyObject **op, int *did_incref)
575
#define WRAP_UNARY(method, generic) \
576
static PyObject * \
577
method(PyObject *proxy) { \
578
- int proxy_incref = 0; \
579
UNWRAP(proxy); \
580
PyObject* res = generic(proxy); \
581
Py_DECREF(proxy); \
@@ -629,7 +628,6 @@ _proxy_unwrap(PyObject **op, int *did_incref)
629
628
#define WRAP_METHOD(method, SPECIAL) \
630
631
method(PyObject *proxy, PyObject *Py_UNUSED(ignored)) { \
632
633
634
PyObject* res = PyObject_CallMethodNoArgs(proxy, &_Py_ID(SPECIAL)); \
635
0 commit comments