Skip to content

Commit

Permalink
s4:echo_server fix compiler warnings
Browse files Browse the repository at this point in the history
about set but unused variables

Signed-off-by: Christian Ambach <[email protected]>
Reviewed-by: Jeremy Allison <[email protected]>
  • Loading branch information
der-ambi authored and jrasamba committed Dec 12, 2013
1 parent 9c2951a commit 877fe25
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source4/echo_server/echo_server.c
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,9 @@ static void echo_udp_call_sendto_done(struct tevent_req *subreq)
{
struct echo_udp_call *call = tevent_req_callback_data(subreq,
struct echo_udp_call);
ssize_t ret;
int sys_errno;

ret = tdgram_sendto_queue_recv(subreq, &sys_errno);
tdgram_sendto_queue_recv(subreq, &sys_errno);

/*
* We don't actually care about the error, just get on with our life.
Expand Down

0 comments on commit 877fe25

Please sign in to comment.