mirror of
https://github.com/samba-team/samba.git
synced 2025-02-22 05:57:43 +03:00
s3/passed: clang: Fix 'Value stored during its initialization is never read'
Fixes: source3/passdb/passdb.c:2502:11: warning: Value stored to 'status' during its initialization is never read <--[clang] NTSTATUS status = NT_STATUS_INTERNAL_ERROR; ^~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
b08ec1903d
commit
fba666cf2a
@ -2499,7 +2499,7 @@ NTSTATUS pdb_get_trust_credentials(const char *netbios_domain,
|
||||
struct cli_credentials **_creds)
|
||||
{
|
||||
TALLOC_CTX *frame = talloc_stackframe();
|
||||
NTSTATUS status = NT_STATUS_INTERNAL_ERROR;
|
||||
NTSTATUS status;
|
||||
struct loadparm_context *lp_ctx;
|
||||
enum netr_SchannelType channel;
|
||||
time_t last_set_time;
|
||||
|
Loading…
x
Reference in New Issue
Block a user