pthreadpool: ignore the return value of poll(NULL, 0UL, 1)
authorStefan Metzmacher <metze@samba.org>
Tue, 31 Jul 2018 07:40:20 +0000 (09:40 +0200)
committerVolker Lendecke <vl@samba.org>
Tue, 31 Jul 2018 09:26:16 +0000 (11:26 +0200)
commit6da0d68f49bbd82f5a08427779c9f5ebd6f755aa
treeb26ae9a341cff79eb5f713705696c04c76ae35f7
parent80c9219d6079532f31c4e415906a606d395af6e8
pthreadpool: ignore the return value of poll(NULL, 0UL, 1)

Otherwise Coverity reports this:

CID 1438160:    (CHECKED_RETURN)
Calling "poll(NULL, 0UL, 1)" without checking return value. This
library function may fail and return an error code.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
lib/pthreadpool/pthreadpool_tevent.c