mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Remove some shadowed variables
This commit is contained in:
parent
76dc081dd9
commit
0c6e2f1640
3 changed files with 4 additions and 4 deletions
|
@ -920,8 +920,8 @@ PyObject_ClearWeakRefs(PyObject *object)
|
|||
PyObject *callback = PyTuple_GET_ITEM(tuple, i * 2 + 1);
|
||||
|
||||
if (callback != NULL) {
|
||||
PyObject *current = PyTuple_GET_ITEM(tuple, i * 2);
|
||||
handle_callback((PyWeakReference *)current, callback);
|
||||
PyObject *item = PyTuple_GET_ITEM(tuple, i * 2);
|
||||
handle_callback((PyWeakReference *)item, callback);
|
||||
}
|
||||
}
|
||||
Py_DECREF(tuple);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue