From 53cc8f8011cf1644d1ed96546736ebbb15570b68 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Tue, 19 Jun 2012 10:18:28 -0700 Subject: Remove unused variables. --- source3/winbindd/idmap_adex/idmap_adex.c | 8 -------- 1 file changed, 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; -- cgit