mirror of
https://github.com/python/cpython.git
synced 2025-07-09 20:35:26 +00:00
call_sys_exitfunc(): Remove unused variable f.
This commit is contained in:
parent
88b0884787
commit
6a12d8d3b4
1 changed files with 1 additions and 1 deletions
|
@ -1256,7 +1256,7 @@ call_sys_exitfunc(void)
|
|||
PyObject *exitfunc = PySys_GetObject("exitfunc");
|
||||
|
||||
if (exitfunc) {
|
||||
PyObject *res, *f;
|
||||
PyObject *res;
|
||||
Py_INCREF(exitfunc);
|
||||
PySys_SetObject("exitfunc", (PyObject *)NULL);
|
||||
res = PyEval_CallObject(exitfunc, (PyObject *)NULL);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue