summaryrefslogtreecommitdiff
path: root/libcli
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-03-30 12:08:42 -0500
committerJeremy Allison <jra@samba.org>2018-04-04 00:44:22 +0200
commit7bffd65bb570eb3b8a4502d52a18c98b7b640645 (patch)
tree1d019bdd196499d7a6ed17eebde4a472b1fa39cb /libcli
parentc31e5371bf3334964c078c963de7b5db7236ff35 (diff)
downloadsamba-7bffd65bb570eb3b8a4502d52a18c98b7b640645.tar.gz
cldap: Avoid a ZERO_STRUCTP
This is done implicitly by tevent_req_create Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'libcli')
-rw-r--r--libcli/cldap/cldap.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libcli/cldap/cldap.c b/libcli/cldap/cldap.c
index 87f82b9b0de..242a1173017 100644
--- a/libcli/cldap/cldap.c
+++ b/libcli/cldap/cldap.c
@@ -577,7 +577,6 @@ struct tevent_req *cldap_search_send(TALLOC_CTX *mem_ctx,
if (!req) {
return NULL;
}
- ZERO_STRUCTP(state);
state->caller.ev = ev;
state->req = req;
state->caller.cldap = cldap;