summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_adex/idmap_adex.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-06-19 10:18:28 -0700
committerJeremy Allison <jra@samba.org>2012-06-19 10:27:24 -0700
commit53cc8f8011cf1644d1ed96546736ebbb15570b68 (patch)
treea717bb46eb2ee7c713665134f8f4c8c0e900bbc4 /source3/winbindd/idmap_adex/idmap_adex.c
parent06cf0a95cd9fbe94d452df75395a7ae20dce7403 (diff)
downloadsamba-53cc8f8011cf1644d1ed96546736ebbb15570b68.tar.gz
samba-53cc8f8011cf1644d1ed96546736ebbb15570b68.tar.bz2
samba-53cc8f8011cf1644d1ed96546736ebbb15570b68.zip
Remove unused variables.
Diffstat (limited to 'source3/winbindd/idmap_adex/idmap_adex.c')
-rw-r--r--source3/winbindd/idmap_adex/idmap_adex.c8
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;