mirror of
https://github.com/python/cpython.git
synced 2026-01-06 15:32:22 +00:00
remove useless and defined initialization (closes #15921)
This commit is contained in:
parent
6d29352cfd
commit
6f3e5e48d3
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ select_select(PyObject *self, PyObject *args)
|
|||
#else
|
||||
/* 64-bit OS X has struct timeval.tv_usec as an int (and thus still 4
|
||||
bytes as required), but no longer defined by a long. */
|
||||
long tv_usec = tv.tv_usec;
|
||||
long tv_usec;
|
||||
if (_PyTime_ObjectToTimeval(tout, &tv.tv_sec, &tv_usec) == -1)
|
||||
return NULL;
|
||||
tv.tv_usec = tv_usec;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue