This commit is contained in:
Kovid Goyal 2016-12-02 17:04:33 +05:30
parent c75d7f60cb
commit 40928beeb4

View File

@ -14,7 +14,7 @@ static char drain_buf[1024] = {0};
static PyObject*
drain_read(PyObject UNUSED *self, PyObject *fd) {
read(PyLong_AsLong(fd), drain_buf, sizeof(drain_buf));
(void)read(PyLong_AsLong(fd), drain_buf, sizeof(drain_buf));
Py_RETURN_NONE;
}