]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libads: Init a variable to NULL
authorVolker Lendecke <vl@samba.org>
Thu, 24 Oct 2024 09:19:09 +0000 (11:19 +0200)
committerRalph Boehme <slow@samba.org>
Fri, 25 Oct 2024 07:55:34 +0000 (07:55 +0000)
README.Coding

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libads/cldap.c

index 66c97690208733745cf059d36ac222029ae499b8..57a2706b2e9a3bd617b80b03badf08cd7edcd537 100644 (file)
@@ -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; i<state->num_sent; i++) {