From 35e0122e7c7f2cdfa0f6ac4f18a8cc7c42edab24 Mon Sep 17 00:00:00 2001 From: Noel Power Date: Fri, 6 Sep 2019 13:00:05 +0000 Subject: [PATCH] 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 Reviewed-by: Jeremy Allison --- source3/libads/sasl.c | 1 - 1 file changed, 1 deletion(-) 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) { -- 2.47.3