summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-03-23 17:34:02 +0000
committerFred Drake <fdrake@acm.org>2001-03-23 17:34:02 +0000
commitde687bd3ece675e035b1db55de63b465658a1848 (patch)
tree1cf42dd898c9061a7c97fab031da371bd19092a0 /Python/pythonrun.c
parent87ce7581e48a3d18da7de2ccf1a32942e56453fd (diff)
downloadcpython-de687bd3ece675e035b1db55de63b465658a1848.tar.gz
call_sys_exitfunc(): Remove unused variable f.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r--Python/pythonrun.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c
index 374060724e..f1ed3963e0 100644
--- a/Python/pythonrun.c
+++ b/Python/pythonrun.c
@@ -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);