mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Remove a couple of warnings turned up by "gcc -Wall".
This commit is contained in:
parent
ce4dc41b1a
commit
04e654a63c
2 changed files with 4 additions and 3 deletions
|
@ -2856,8 +2856,9 @@ find_from_args(PyFrameObject *f, int nexti)
|
|||
if (!name)
|
||||
Py_DECREF(list);
|
||||
else {
|
||||
if (PyList_Append(list, name) < 0)
|
||||
if (PyList_Append(list, name) < 0) {
|
||||
Py_DECREF(list);
|
||||
}
|
||||
Py_DECREF(name);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue