mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
libcli/smb: clang: Fix ' 2nd function call argument is an uninitialized value'
Fixes: /home/samba/samba/libcli/smb/smbXcli_base.c:5120:8: warning: 2nd function call argument is an uninitialized value <--[clang] rc = gnutls_hash(hash_hnd, Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
This commit is contained in:
parent
fb49e411aa
commit
6ea9c795b1
@ -4868,7 +4868,7 @@ static void smbXcli_negprot_smb2_done(struct tevent_req *subreq)
|
||||
uint16_t hash_selected;
|
||||
gnutls_hash_hd_t hash_hnd = NULL;
|
||||
struct smb2_negotiate_context *cipher = NULL;
|
||||
struct iovec sent_iov[3];
|
||||
struct iovec sent_iov[3] = {{0}, {0}, {0}};
|
||||
static const struct smb2cli_req_expected_response expected[] = {
|
||||
{
|
||||
.status = NT_STATUS_OK,
|
||||
|
Loading…
x
Reference in New Issue
Block a user