helper_thread: Complain if select() fails
authorBart Van Assche <bvanassche@acm.org>
Sat, 4 Jan 2020 21:59:02 +0000 (13:59 -0800)
committerBart Van Assche <bvanassche@acm.org>
Sat, 4 Jan 2020 22:39:41 +0000 (14:39 -0800)
commit700ad386aa886fe4b38432f25aa8ee318031d95a
treee170ba19ffb5ee04f6e05a787b75efa80ba80ba0
parentc31092b8ac06d845f3022339f55f482308e02b6e
helper_thread: Complain if select() fails

This patch suppresses the following Coverity complaint:

CID 280687:  Error handling issues  (CHECKED_RETURN)
Calling "select(1, &rfds, NULL, &efds, &timeout)" without checking return
value. This library function may fail and return an error code.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
helper_thread.c