diff options
author | Michael Osipov <1983-01-06@gmx.net> | 2018-08-17 11:43:02 (GMT) |
---|---|---|
committer | Tal Einat <taleinat+github@gmail.com> | 2018-08-17 11:43:02 (GMT) |
commit | 0e6e7a1e52a53090e33ebef13f8f1fbe9bec2375 (patch) | |
tree | 362d7e0df01dfb3aa361bec5068bd5151aed1185 | |
parent | c53aaec793e018edef4e72a3edbd338b10db10aa (diff) | |
download | cpython-0e6e7a1e52a53090e33ebef13f8f1fbe9bec2375.zip cpython-0e6e7a1e52a53090e33ebef13f8f1fbe9bec2375.tar.gz cpython-0e6e7a1e52a53090e33ebef13f8f1fbe9bec2375.tar.bz2 |
bpo-34419: selectmodule.c does not compile on HP-UX due to bpo-31938 (GH-8796)
Fix compile errors reported by HP aCC by fixing bugs introduced in 6dc57e2a20c
which do not cause trouble on clang or GCC.
Patch by Michael Osipov.
-rw-r--r-- | Modules/selectmodule.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Modules/selectmodule.c b/Modules/selectmodule.c index 15aca27..836af54 100644 --- a/Modules/selectmodule.c +++ b/Modules/selectmodule.c @@ -846,8 +846,6 @@ static PyObject * select_devpoll_modify_impl(devpollObject *self, int fd, unsigned short eventmask) /*[clinic end generated code: output=bc2e6d23aaff98b4 input=48a820fc5967165d]*/ -static PyObject * -devpoll_modify(devpollObject *self, PyObject *args) { return internal_devpoll_register(self, fd, eventmask, 1); } @@ -895,7 +893,7 @@ select_devpoll_poll_impl(devpollObject *self, PyObject *timeout_obj) /*[clinic end generated code: output=2654e5457cca0b3c input=fd0db698d84f0333]*/ { struct dvpoll dvp; - PyObject *result_list = NULL, *timeout_obj = NULL; + PyObject *result_list = NULL; int poll_result, i; PyObject *value, *num1, *num2; _PyTime_t timeout, ms, deadline = 0; |