diff options
author | Jeremy Allison <jra@samba.org> | 2012-06-19 10:09:45 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-06-19 10:27:24 -0700 |
commit | 76e2f29389446626d10e10d38a813a624104b00a (patch) | |
tree | 039db09999bd864110dd1c8f1dc31657ab00e69b /source3/rpc_server/lsa | |
parent | 0dfd15c2b389e91b16e139cae570cb8ac6ff8e0a (diff) | |
download | samba-76e2f29389446626d10e10d38a813a624104b00a.tar.gz samba-76e2f29389446626d10e10d38a813a624104b00a.tar.bz2 samba-76e2f29389446626d10e10d38a813a624104b00a.zip |
Fix more "set but not used" warnings.
Diffstat (limited to 'source3/rpc_server/lsa')
-rw-r--r-- | source3/rpc_server/lsa/srv_lsa_nt.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source3/rpc_server/lsa/srv_lsa_nt.c b/source3/rpc_server/lsa/srv_lsa_nt.c index f1605afc6d..ed73651ea5 100644 --- a/source3/rpc_server/lsa/srv_lsa_nt.c +++ b/source3/rpc_server/lsa/srv_lsa_nt.c @@ -4141,9 +4141,7 @@ static NTSTATUS check_ft_info(TALLOC_CTX *mem_ctx, struct dom_sid *sid = NULL; const char *tname = NULL; size_t dns_len = 0; - size_t nb_len; size_t tlen = 0; - NTSTATUS nt_status; uint32_t new_fti_idx; uint32_t i; /* use always TDO type, until we understand when Xref can be used */ @@ -4178,7 +4176,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; } @@ -4248,19 +4245,19 @@ static NTSTATUS check_ft_info(TALLOC_CTX *mem_ctx, } if (tln_conflict) { - nt_status = add_collision(c_info, new_fti_idx, + (void)add_collision(c_info, new_fti_idx, collision_type, LSA_TLN_DISABLED_CONFLICT, tdo_name); } if (sid_conflict) { - nt_status = add_collision(c_info, new_fti_idx, + (void)add_collision(c_info, new_fti_idx, collision_type, LSA_SID_DISABLED_CONFLICT, tdo_name); } if (nb_conflict) { - nt_status = add_collision(c_info, new_fti_idx, + (void)add_collision(c_info, new_fti_idx, collision_type, LSA_NB_DISABLED_CONFLICT, tdo_name); |