t/read-to-pipe-async: Complain if pthread_detach() fails
authorBart Van Assche <bvanassche@acm.org>
Sat, 11 Jan 2020 23:46:57 +0000 (15:46 -0800)
committerBart Van Assche <bvanassche@acm.org>
Sun, 12 Jan 2020 02:17:37 +0000 (18:17 -0800)
commit2c1520d72d10ee4d203f0d7f1d31d0ac6d3d84a4
tree3b7698c1fc8c0baca53b76e5092c41342dd5dd69
parentb38cc6cb679e2f48dbdef43b1d70b7a1f9278945
t/read-to-pipe-async: Complain if pthread_detach() fails

This patch fixes the following Coverity complaint:

CID 280680 (#1 of 1): Unchecked return value (CHECKED_RETURN)
5. check_return: Calling pthread_detach without checking return value (as is done elsewhere 4 out of 5 times).

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
t/read-to-pipe-async.c