summaryrefslogtreecommitdiffstats
path: root/src/providers/data_provider_opts.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/data_provider_opts.c
parent88aeed9a31b734a92630d5e881c960c5f77ba0ce (diff)
downloadsssd-87f2bb60510f31fec012d126411f09a99c72140e.tar.gz
sssd-87f2bb60510f31fec012d126411f09a99c72140e.tar.xz
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/data_provider_opts.c')
-rw-r--r--src/providers/data_provider_opts.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/providers/data_provider_opts.c b/src/providers/data_provider_opts.c
index 3433c4d9..3fdbb055 100644
--- a/src/providers/data_provider_opts.c
+++ b/src/providers/data_provider_opts.c
@@ -42,7 +42,6 @@ int dp_get_options(TALLOC_CTX *memctx,
opts[i].opt_name = def_opts[i].opt_name;
opts[i].type = def_opts[i].type;
opts[i].def_val = def_opts[i].def_val;
- ret = EOK;
switch (def_opts[i].type) {
case DP_OPT_STRING: