summaryrefslogtreecommitdiff
path: root/ctdb/tests
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2015-11-07 20:18:32 +0100
committerVolker Lendecke <vl@samba.org>2015-11-13 12:42:21 +0100
commit0aca421136049cf56f978e4f75cd185deafa459e (patch)
tree29f70dabdb97d24073a8ee9bb71044f9556c00a3 /ctdb/tests
parentf9b92cfea69eb10b61ae2f99540097c202fb82bf (diff)
downloadsamba-0aca421136049cf56f978e4f75cd185deafa459e.tar.gz
ctdb: Fix the O3 developer build
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org> Autobuild-User(master): Volker Lendecke <vl@samba.org> Autobuild-Date(master): Fri Nov 13 12:42:22 CET 2015 on sn-devel-104
Diffstat (limited to 'ctdb/tests')
-rw-r--r--ctdb/tests/src/comm_server_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/tests/src/comm_server_test.c b/ctdb/tests/src/comm_server_test.c
index 7a7656f4cd3..036baac6740 100644
--- a/ctdb/tests/src/comm_server_test.c
+++ b/ctdb/tests/src/comm_server_test.c
@@ -247,7 +247,8 @@ static void socket_process_client(struct tevent_req *subreq)
subreq, struct tevent_req);
struct socket_process_state *state = tevent_req_data(
req, struct socket_process_state);
- int client_fd, err;
+ int client_fd;
+ int err = 0;
client_fd = accept_recv(subreq, &err);
TALLOC_FREE(subreq);