diff options
author | Benjamin Peterson <benjamin@python.org> | 2012-09-11 16:05:05 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2012-09-11 16:05:05 (GMT) |
commit | 6f3e5e48d37388f820642f3f71dcc8da4c79ad19 (patch) | |
tree | f09788462333524ded3e178cad3b004dea0bb4c3 /Modules | |
parent | 6d29352cfd76d569198dd2fd2eb02b2b0c5a8c44 (diff) | |
download | cpython-6f3e5e48d37388f820642f3f71dcc8da4c79ad19.zip cpython-6f3e5e48d37388f820642f3f71dcc8da4c79ad19.tar.gz cpython-6f3e5e48d37388f820642f3f71dcc8da4c79ad19.tar.bz2 |
remove useless and defined initialization (closes #15921)
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/selectmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 5b5eb92..7cec49b 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -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; |