From: Volker Lendecke Date: Thu, 24 Oct 2024 09:19:09 +0000 (+0200) Subject: libads: Init a variable to NULL X-Git-Tag: tdb-1.4.13~850 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6389e14be3fd95c7e44319085b2969910b605e9;p=thirdparty%2Fsamba.git libads: Init a variable to NULL README.Coding Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- diff --git a/source3/libads/cldap.c b/source3/libads/cldap.c index 66c97690208..57a2706b2e9 100644 --- a/source3/libads/cldap.c +++ b/source3/libads/cldap.c @@ -228,7 +228,7 @@ static void cldap_multi_netlogon_done(struct tevent_req *subreq) struct cldap_multi_netlogon_state *state = tevent_req_data( req, struct cldap_multi_netlogon_state); NTSTATUS status; - struct netlogon_samlogon_response *response; + struct netlogon_samlogon_response *response = NULL; int i; for (i=0; inum_sent; i++) {