call_sys_exitfunc(): Remove unused variable f.
This commit is contained in:
parent
88b0884787
commit
6a12d8d3b4
|
@ -1256,7 +1256,7 @@ call_sys_exitfunc(void)
|
||||||
PyObject *exitfunc = PySys_GetObject("exitfunc");
|
PyObject *exitfunc = PySys_GetObject("exitfunc");
|
||||||
|
|
||||||
if (exitfunc) {
|
if (exitfunc) {
|
||||||
PyObject *res, *f;
|
PyObject *res;
|
||||||
Py_INCREF(exitfunc);
|
Py_INCREF(exitfunc);
|
||||||
PySys_SetObject("exitfunc", (PyObject *)NULL);
|
PySys_SetObject("exitfunc", (PyObject *)NULL);
|
||||||
res = PyEval_CallObject(exitfunc, (PyObject *)NULL);
|
res = PyEval_CallObject(exitfunc, (PyObject *)NULL);
|
||||||
|
|
Loading…
Reference in New Issue