From 16155812e04cee6542746b8dbb4a9a7acb93de70 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 21 Mar 2011 10:56:10 +0100 Subject: s3: Fix Coverity ID 1048, CHECKED_RETURN This is a real bug: tevent_req_set_endtime already calls tevent_req_nomem. Autobuild-User: Volker Lendecke Autobuild-Date: Mon Mar 21 16:29:22 CET 2011 on sn-devel-104 --- source3/winbindd/winbindd_dual.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'source3') diff --git a/source3/winbindd/winbindd_dual.c b/source3/winbindd/winbindd_dual.c index 47768731b7..2490073262 100644 --- a/source3/winbindd/winbindd_dual.c +++ b/source3/winbindd/winbindd_dual.c @@ -150,12 +150,7 @@ static void wb_child_request_trigger(struct tevent_req *req, return; } tevent_req_set_callback(subreq, wb_child_request_done, req); - - if (!tevent_req_set_endtime(req, state->ev, - timeval_current_ofs(300, 0))) { - tevent_req_nomem(NULL, req); - return; - } + tevent_req_set_endtime(req, state->ev, timeval_current_ofs(300, 0)); } static void wb_child_request_done(struct tevent_req *subreq) -- cgit