Skip to content

Commit 15b5f25

Browse files
committed
remove unused var
1 parent 069f6ae commit 15b5f25

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Modules/_datetimemodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2867,7 +2867,6 @@ delta_new(PyTypeObject *type, PyObject *args, PyObject *kw)
28672867
{
28682868
PyObject *td_self = NULL;
28692869
PyObject *current_mod = NULL;
2870-
datetime_state *st = GET_CURRENT_STATE(current_mod);
28712870

28722871
PyObject *days_arg = NULL, *seconds_arg = NULL, *us_arg = NULL, *ns_arg = NULL;
28732872
PyObject *ms_arg = NULL, *minutes_arg = NULL, *hours_arg = NULL, *weeks_arg = NULL;
@@ -3006,7 +3005,6 @@ delta_new(PyTypeObject *type, PyObject *args, PyObject *kw)
30063005

30073006
ErrorExit:
30083007
// Py_XDECREF(td_self); // td_self would be NULL or DECREF'd by caller if tp_alloc failed
3009-
RELEASE_CURRENT_STATE(st, current_mod);
30103008
return NULL; // Error already set
30113009
}
30123010

0 commit comments

Comments
 (0)