From: Volker Lendecke Date: Fri, 30 Mar 2018 17:08:42 +0000 (-0500) Subject: cldap: Avoid a ZERO_STRUCTP X-Git-Tag: talloc-2.1.13~60 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7bffd65bb570eb3b8a4502d52a18c98b7b640645;p=thirdparty%2Fsamba.git cldap: Avoid a ZERO_STRUCTP This is done implicitly by tevent_req_create Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison Reviewed-by: Stefan Metzmacher --- 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;