summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2019-09-06 13:00:05 +0000
committerJeremy Allison <jra@samba.org>2019-09-26 18:41:27 +0000
commit35e0122e7c7f2cdfa0f6ac4f18a8cc7c42edab24 (patch)
treeca8b2e571641681c97f077fb6a6442e845b3617f /source3/libads
parentfba666cf2a5c83ee76432f0d0d44e867c62231ba (diff)
downloadsamba-35e0122e7c7f2cdfa0f6ac4f18a8cc7c42edab24.tar.gz
s3/libads: clang: Fix 'Value stored to 'nt_status' is never read'
Fixes: source3/libads/sasl.c:219:2: warning: Value stored to 'nt_status' is never read <--[clang] nt_status = NT_STATUS_MORE_PROCESSING_REQUIRED; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning generated. Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/sasl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libads/sasl.c b/source3/libads/sasl.c
index 010a2538206..613645f8f54 100644
--- a/source3/libads/sasl.c
+++ b/source3/libads/sasl.c
@@ -216,7 +216,6 @@ static ADS_STATUS ads_sasl_spnego_gensec_bind(ADS_STRUCT *ads,
}
rc = LDAP_SASL_BIND_IN_PROGRESS;
- nt_status = NT_STATUS_MORE_PROCESSING_REQUIRED;
if (use_spnego_principal) {
blob_in = data_blob_dup_talloc(talloc_tos(), server_blob);
if (blob_in.length == 0) {