From 06e5401f7bb69836e81a177259cded0c1e1d252d Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 21 Jun 2013 18:15:57 +0200 Subject: [PATCH] lsa4: Fix a set but unused variable warning Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source4/rpc_server/lsa/dcesrv_lsa.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c index 520c65b0e20..02ff0dad332 100644 --- a/source4/rpc_server/lsa/dcesrv_lsa.c +++ b/source4/rpc_server/lsa/dcesrv_lsa.c @@ -4113,7 +4113,6 @@ static NTSTATUS check_ft_info(TALLOC_CTX *mem_ctx, struct dom_sid *sid; const char *tname; size_t dns_len; - size_t nb_len; size_t tlen; NTSTATUS nt_status; uint32_t new_fti_idx; @@ -4150,7 +4149,6 @@ static NTSTATUS check_ft_info(TALLOC_CTX *mem_ctx, dns_name = nrec->data.info.dns_name.string; dns_len = nrec->data.info.dns_name.size; nb_name = nrec->data.info.netbios_name.string; - nb_len = nrec->data.info.netbios_name.size; sid = &nrec->data.info.sid; break; } -- 2.11.4.GIT