>From 00910dd501ec88ac85ffbb93442859b1d659c18f Mon Sep 17 00:00:00 2001 From: Jakub Hrozek Date: Thu, 4 Oct 2012 06:57:59 +0200 Subject: [PATCH] Remove unused variable --- src/providers/ldap/sdap_child_helpers.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/providers/ldap/sdap_child_helpers.c b/src/providers/ldap/sdap_child_helpers.c index 7a59a42ea5cc37d3be00210f585129c6023bc626..5e86fce53bb823ead3ddd4fcbe0dbfe64fe87f8b 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); -- 1.7.11.4