From: Noel Power Date: Fri, 6 Sep 2019 13:00:05 +0000 (+0000) Subject: s3/libads: clang: Fix 'Value stored to 'nt_status' is never read' X-Git-Tag: talloc-2.3.1~555 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=35e0122e7c7f2cdfa0f6ac4f18a8cc7c42edab24;p=thirdparty%2Fsamba.git 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 --- 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) {