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 ddf4a6a commit 033be36Copy full SHA for 033be36
Objects/weakrefobject.c
@@ -560,7 +560,6 @@ _proxy_unwrap(PyObject **op, int *did_incref)
560
#define WRAP_UNARY(method, generic) \
561
static PyObject * \
562
method(PyObject *proxy) { \
563
- int proxy_incref = 0; \
564
UNWRAP(proxy); \
565
PyObject* res = generic(proxy); \
566
Py_DECREF(proxy); \
@@ -614,7 +613,6 @@ _proxy_unwrap(PyObject **op, int *did_incref)
614
613
#define WRAP_METHOD(method, SPECIAL) \
615
616
method(PyObject *proxy, PyObject *Py_UNUSED(ignored)) { \
617
618
619
PyObject* res = PyObject_CallMethodNoArgs(proxy, &_Py_ID(SPECIAL)); \
620
0 commit comments