summaryrefslogtreecommitdiffstats
path: root/Python/pythonrun.c
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-03-23 17:34:02 (GMT)
committerFred Drake <fdrake@acm.org>2001-03-23 17:34:02 (GMT)
commit6a12d8d3b4b7c70f92a17a20cb811b18069fd349 (patch)
tree8e85ff92ddd1b183a3c39913cfb285c7be2f62c5 /Python/pythonrun.c
parent88b0884787f06667f59ebaab5413f3bedcdd631c (diff)
downloadcpython-6a12d8d3b4b7c70f92a17a20cb811b18069fd349.zip
cpython-6a12d8d3b4b7c70f92a17a20cb811b18069fd349.tar.gz
cpython-6a12d8d3b4b7c70f92a17a20cb811b18069fd349.tar.bz2
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 3740607..f1ed396 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);