From: Volker Lendecke Date: Sat, 19 Jun 2021 15:05:39 +0000 (+0200) Subject: winbindd: NULL-initialize a pointer X-Git-Tag: ldb-2.5.0~849 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=76b7bc5fc06cb64ab3e43c3d26c09dc0aa605199;p=thirdparty%2Fsamba.git winbindd: NULL-initialize a pointer Patches from the dcerpc patchset will create warnings out of this not being initialized. Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index fdb894d7ff6..a915f803518 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -1562,7 +1562,7 @@ NTSTATUS wb_open_internal_pipe(TALLOC_CTX *mem_ctx, struct rpc_pipe_client **ret_pipe) { struct rpc_pipe_client *cli = NULL; - const struct auth_session_info *session_info; + const struct auth_session_info *session_info = NULL; NTSTATUS status = NT_STATUS_UNSUCCESSFUL;