Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 17207:16f145aac2ec legacy-trunk
call_sys_exitfunc(): Remove unused variable f.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 23 Mar 2001 17:34:02 +0000 |
| parents | eb06a02e0507 |
| children | 215dc725db84 |
line wrap: on
line diff
--- a/Python/pythonrun.c Fri Mar 23 17:30:26 2001 +0000 +++ b/Python/pythonrun.c Fri Mar 23 17:34:02 2001 +0000 @@ -1256,7 +1256,7 @@ 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);
