From e6e0d5a663a133b16938cea263557bf67d544e9c Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 4 Oct 2012 06:57:59 +0200 Subject: Remove unused variable --- src/providers/ldap/sdap_child_helpers.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src') diff --git a/src/providers/ldap/sdap_child_helpers.c b/src/providers/ldap/sdap_child_helpers.c index 7a59a42e..5e86fce5 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); -- cgit