diff options
author | Jeremy Allison <jra@samba.org> | 2012-06-19 10:18:28 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-06-19 10:27:24 -0700 |
commit | 53cc8f8011cf1644d1ed96546736ebbb15570b68 (patch) | |
tree | a717bb46eb2ee7c713665134f8f4c8c0e900bbc4 /source3/winbindd/idmap_adex | |
parent | 06cf0a95cd9fbe94d452df75395a7ae20dce7403 (diff) | |
download | samba-53cc8f8011cf1644d1ed96546736ebbb15570b68.tar.gz samba-53cc8f8011cf1644d1ed96546736ebbb15570b68.tar.bz2 samba-53cc8f8011cf1644d1ed96546736ebbb15570b68.zip |
Remove unused variables.
Diffstat (limited to 'source3/winbindd/idmap_adex')
-rw-r--r-- | source3/winbindd/idmap_adex/idmap_adex.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/winbindd/idmap_adex/idmap_adex.c b/source3/winbindd/idmap_adex/idmap_adex.c index 7440d5c611..d64487a2d6 100644 --- a/source3/winbindd/idmap_adex/idmap_adex.c +++ b/source3/winbindd/idmap_adex/idmap_adex.c @@ -155,8 +155,6 @@ static NTSTATUS _idmap_adex_get_sid_from_id(struct **ids) { int i; - bool one_mapped = false; - bool all_mapped = true; NTSTATUS nt_status; struct likewise_cell *cell; @@ -187,12 +185,10 @@ static NTSTATUS _idmap_adex_get_sid_from_id(struct if (!NT_STATUS_IS_OK(status)) { ids[i]->status = ID_UNMAPPED; - all_mapped = false; continue; } ids[i]->status = ID_MAPPED; - one_mapped = true; } return NT_STATUS_OK; @@ -208,8 +204,6 @@ static NTSTATUS _idmap_adex_get_id_from_sid(struct **ids) { int i; - bool one_mapped = false; - bool all_mapped = true; NTSTATUS nt_status; struct likewise_cell *cell; @@ -240,12 +234,10 @@ static NTSTATUS _idmap_adex_get_id_from_sid(struct if (!NT_STATUS_IS_OK(status)) { ids[i]->status = ID_UNMAPPED; - all_mapped = false; continue; } ids[i]->status = ID_MAPPED; - one_mapped = true; } return NT_STATUS_OK; |