From f09d5fb7018c43657f43c31c9c12ba5abf23c9b5 Mon Sep 17 00:00:00 2001 From: Guenter Knauf Date: Thu, 29 Nov 2007 12:56:52 +0000 Subject: [PATCH] fixed var declaration in the middle of code. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@599425 13f79535-47bb-0310-9956-ffa450edef68 --- modules/ldap/util_ldap.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/modules/ldap/util_ldap.c b/modules/ldap/util_ldap.c index 2f18ff8322..5fe6257f91 100644 --- a/modules/ldap/util_ldap.c +++ b/modules/ldap/util_ldap.c @@ -1112,10 +1112,8 @@ static int uldap_cache_check_subgroups(request_rec *r, util_compare_node_t the_compare_node; util_compare_subgroup_t *tmp_local_sgl = NULL; int lcl_sgl_processedFlag = 0, sgindex = 0, base_sgcIndex = 0; - struct mod_auth_ldap_groupattr_entry_t *sgc_ents; - - sgc_ents = (struct mod_auth_ldap_groupattr_entry_t *) subgroupclasses->elts; - + struct mod_auth_ldap_groupattr_entry_t *sgc_ents = + (struct mod_auth_ldap_groupattr_entry_t *) subgroupclasses->elts; util_ldap_state_t *st = (util_ldap_state_t *) ap_get_module_config(r->server->module_config, &ldap_module); -- 2.40.0