[SSSD] [PATCH] Remove unused variable
Jakub Hrozek
jhrozek at redhat.com
Wed Oct 3 08:49:59 UTC 2012
This is a fallout of the recent removal of duplicate principal
selection.
-------------- next part --------------
>From b11e16e5055c408e904f4fee6b3c90f867d02e9d Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Wed, 3 Oct 2012 10:46:58 +0200
Subject: [PATCH] Remove unused variable
---
src/providers/ldap/sdap_child_helpers.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/providers/ldap/sdap_child_helpers.c b/src/providers/ldap/sdap_child_helpers.c
index 7a59a42ea5cc37d3be00210f585129c6023bc626..e972aee2500f567cfc9b03422e5ed55948255ffc 100644
--- a/src/providers/ldap/sdap_child_helpers.c
+++ b/src/providers/ldap/sdap_child_helpers.c
@@ -457,11 +457,6 @@ int setup_child(struct sdap_id_ctx *ctx)
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);
if (ret != EOK) {
--
1.7.11.4
More information about the sssd-devel
mailing list