mirror of
https://github.com/samba-team/samba.git
synced 2025-02-03 13:47:25 +03:00
s3/libsmb: clang: Fix 'Value stored during its initialization is never read'
Fixes: source3/libsmb/cliconnect.c:1877:11: warning: Value stored to 'status' during its initialization is never read <--[clang] NTSTATUS status = NT_STATUS_NO_MEMORY; Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
63c9147f86
commit
ee6300470d
@ -1904,7 +1904,7 @@ NTSTATUS cli_session_setup_creds(struct cli_state *cli,
|
||||
|
||||
NTSTATUS cli_session_setup_anon(struct cli_state *cli)
|
||||
{
|
||||
NTSTATUS status = NT_STATUS_NO_MEMORY;
|
||||
NTSTATUS status;
|
||||
struct cli_credentials *creds = NULL;
|
||||
|
||||
creds = cli_credentials_init_anon(cli);
|
||||
|
Loading…
x
Reference in New Issue
Block a user