summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2013-06-21 18:15:57 +0200
committerJeremy Allison <jra@samba.org>2013-06-21 11:23:51 -0700
commit06e5401f7bb69836e81a177259cded0c1e1d252d (patch)
tree6eb203fdf7daf57ab45bc13360aafec00dc00720 /source4
parent7d5daaa9f49f1a4226638a67f9d14f5d959b7363 (diff)
downloadsamba-06e5401f7bb69836e81a177259cded0c1e1d252d.tar.gz
samba-06e5401f7bb69836e81a177259cded0c1e1d252d.tar.bz2
samba-06e5401f7bb69836e81a177259cded0c1e1d252d.zip
lsa4: Fix a set but unused variable warning
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/lsa/dcesrv_lsa.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/source4/rpc_server/lsa/dcesrv_lsa.c b/source4/rpc_server/lsa/dcesrv_lsa.c
index 520c65b0e2..02ff0dad33 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;
}