call_sys_exitfunc(): Remove unused variable f.

This commit is contained in:
Fred Drake 2001-03-23 17:34:02 +00:00
parent 88b0884787
commit 6a12d8d3b4
1 changed files with 1 additions and 1 deletions

View File

@ -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);