]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
call_sys_exitfunc(): Remove unused variable f.
authorFred Drake <fdrake@acm.org>
Fri, 23 Mar 2001 17:34:02 +0000 (17:34 +0000)
committerFred Drake <fdrake@acm.org>
Fri, 23 Mar 2001 17:34:02 +0000 (17:34 +0000)
Python/pythonrun.c

index 374060724ebc042843b394946d0ed00664d2e640..f1ed3963e07a5c51f472f266275e384baf02d8cd 100644 (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);