summaryrefslogtreecommitdiffstats
path: root/src/providers/ldap
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2012-10-04 06:57:59 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-04 11:01:44 +0200
commite6e0d5a663a133b16938cea263557bf67d544e9c (patch)
tree5c4e0d41128160a1d5be63db2405e8d0def790dd /src/providers/ldap
parent1bf6ebedaaa7d0d0f6d7458b417b56f1f8b07472 (diff)
downloadsssd-e6e0d5a663a133b16938cea263557bf67d544e9c.tar.gz
sssd-e6e0d5a663a133b16938cea263557bf67d544e9c.tar.xz
sssd-e6e0d5a663a133b16938cea263557bf67d544e9c.zip
Remove unused variable
Diffstat (limited to 'src/providers/ldap')
-rw-r--r--src/providers/ldap/sdap_child_helpers.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/providers/ldap/sdap_child_helpers.c b/src/providers/ldap/sdap_child_helpers.c
index 7a59a42ea..5e86fce53 100644
--- a/src/providers/ldap/sdap_child_helpers.c
+++ b/src/providers/ldap/sdap_child_helpers.c
@@ -455,12 +455,6 @@ int setup_child(struct sdap_id_ctx *ctx)
int ret;
unsigned v;
FILE *debug_filep;
- const char *realm;
-
- realm = dp_opt_get_string(ctx->opts->basic, SDAP_SASL_REALM);
- if (!realm) {
- realm = dp_opt_get_string(ctx->opts->basic, SDAP_KRB5_REALM);
- }
if (debug_to_file != 0 && ldap_child_debug_fd == -1) {
ret = open_debug_file_ex("ldap_child", &debug_filep);