From: Anoop C S Date: Mon, 3 Aug 2015 08:31:58 +0000 (+0530) Subject: source3/rpc_client: Fix CID 1273041 Condition is redundant X-Git-Tag: talloc-2.1.4~434 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e45b0d49be2f487243bbe99afb6e6cd8a1f918ac;p=thirdparty%2Fsamba.git source3/rpc_client: Fix CID 1273041 Condition is redundant Signed-off-by: Anoop C S Reviewed-by: Michael Adam Reviewed-by: Stefan Metzmacher Autobuild-User(master): Michael Adam Autobuild-Date(master): Fri Aug 7 01:31:23 CEST 2015 on sn-devel-104 --- diff --git a/source3/rpc_client/rpc_transport_np.c b/source3/rpc_client/rpc_transport_np.c index b928b7c3474..9dc5c5634fc 100644 --- a/source3/rpc_client/rpc_transport_np.c +++ b/source3/rpc_client/rpc_transport_np.c @@ -141,7 +141,8 @@ static void rpc_transport_np_init_pipe_open(struct tevent_req *subreq) timeval_current_ofs_msec(100 * state->retries), rpc_transport_np_init_pipe_open_retry, req); if (tevent_req_nomem(te, req)) { - return; + DEBUG(2, ("Failed to create asynchronous " + "tevent_timer")); } return; } else if (!NT_STATUS_IS_OK(status)) {