Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6a12d8d

Browse files
committed
call_sys_exitfunc(): Remove unused variable f.
1 parent 88b0884 commit 6a12d8d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Python/pythonrun.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ call_sys_exitfunc(void)
12561256
PyObject *exitfunc = PySys_GetObject("exitfunc");
12571257

12581258
if (exitfunc) {
1259-
PyObject *res, *f;
1259+
PyObject *res;
12601260
Py_INCREF(exitfunc);
12611261
PySys_SetObject("exitfunc", (PyObject *)NULL);
12621262
res = PyEval_CallObject(exitfunc, (PyObject *)NULL);

0 commit comments

Comments
 (0)