summaryrefslogtreecommitdiff
path: root/source3/libsmb
diff options
context:
space:
mode:
authorNoel Power <noel.power@suse.com>2019-09-05 14:16:57 +0000
committerJeremy Allison <jra@samba.org>2019-09-26 18:41:28 +0000
commit2138bd93bb258f2dde2c279a0ba80f9a40737aed (patch)
tree08fb092ce4b57bbfb4cf689877c03c80f89655c5 /source3/libsmb
parent388f280448b9ea459d8d884dbbbce54ab930da7b (diff)
downloadsamba-2138bd93bb258f2dde2c279a0ba80f9a40737aed.tar.gz
s3/libsmb: clang: value stored to 'idx_current' is never read
Fixes: source3/libsmb/trusts_util.c:602:2: warning: Value stored to 'idx_current' is never read <--[clang] idx_current = idx; ^ ~~~ Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3/libsmb')
-rw-r--r--source3/libsmb/trusts_util.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/libsmb/trusts_util.c b/source3/libsmb/trusts_util.c
index 0f0541a26b9..55e3c74494a 100644
--- a/source3/libsmb/trusts_util.c
+++ b/source3/libsmb/trusts_util.c
@@ -599,7 +599,6 @@ NTSTATUS trust_pw_change(struct netlogon_creds_cli_context *context,
* Now we verify the new password.
*/
idx = 0;
- idx_current = idx;
nt_hashes[idx++] = current_nt_hash;
num_nt_hashes = idx;
status = netlogon_creds_cli_lck_auth(context, b,