Commit 6f3e5e48 authored by Benjamin Peterson's avatar Benjamin Peterson

remove useless and defined initialization (closes #15921)

parent 6d29352c
...@@ -239,7 +239,7 @@ select_select(PyObject *self, PyObject *args) ...@@ -239,7 +239,7 @@ select_select(PyObject *self, PyObject *args)
#else #else
/* 64-bit OS X has struct timeval.tv_usec as an int (and thus still 4 /* 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. */ 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) if (_PyTime_ObjectToTimeval(tout, &tv.tv_sec, &tv_usec) == -1)
return NULL; return NULL;
tv.tv_usec = tv_usec; tv.tv_usec = tv_usec;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment