summaryrefslogtreecommitdiff
path: root/src/providers/ldap/ldap_id_enum.c
diff options
context:
space:
mode:
authorJan Zeleny <jzeleny@redhat.com>2010-09-01 16:30:32 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-09-08 09:36:22 -0400
commit87f2bb60510f31fec012d126411f09a99c72140e (patch)
tree48cce3b9f98265a2297c3a6f8be6cd55ed1a3855 /src/providers/ldap/ldap_id_enum.c
parent88aeed9a31b734a92630d5e881c960c5f77ba0ce (diff)
downloadsssd-87f2bb60510f31fec012d126411f09a99c72140e.tar.gz
sssd-87f2bb60510f31fec012d126411f09a99c72140e.tar.bz2
sssd-87f2bb60510f31fec012d126411f09a99c72140e.zip
Dead assignments cleanup in providers code
Dead assignments were deleted. Also prototype of function sdap_access_decide_offline() has been changed, since its return code was never used. Ticket: #586
Diffstat (limited to 'src/providers/ldap/ldap_id_enum.c')
-rw-r--r--src/providers/ldap/ldap_id_enum.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/providers/ldap/ldap_id_enum.c b/src/providers/ldap/ldap_id_enum.c
index 87b95633..d6051921 100644
--- a/src/providers/ldap/ldap_id_enum.c
+++ b/src/providers/ldap/ldap_id_enum.c
@@ -521,7 +521,6 @@ static struct tevent_req *enum_groups_send(TALLOC_CTX *memctx,
{
struct tevent_req *req, *subreq;
struct enum_groups_state *state;
- const char *attr_name;
int ret;
req = tevent_req_create(memctx, &state, struct enum_groups_state);
@@ -531,8 +530,6 @@ static struct tevent_req *enum_groups_send(TALLOC_CTX *memctx,
state->ctx = ctx;
state->op = op;
- attr_name = ctx->opts->group_map[SDAP_AT_GROUP_NAME].name;
-
if (ctx->max_group_timestamp && !purge) {
state->filter = talloc_asprintf(state,