]> git.sur5r.net Git - openldap/commitdiff
declaration after code (introduced by ITS#6428 fix)
authorRalf Haferkamp <ralf@openldap.org>
Fri, 11 Dec 2009 18:09:47 +0000 (18:09 +0000)
committerRalf Haferkamp <ralf@openldap.org>
Fri, 11 Dec 2009 18:09:47 +0000 (18:09 +0000)
servers/slapd/bconfig.c

index a04a33ad6d99413defc35f2f7496d7e7c5cf25ac..b4cc3df3400adff33486ed12cb68535c3eaec3f9 100644 (file)
@@ -2337,11 +2337,12 @@ ok:
                 * the other databases as needed */
                AttributeDescription *ad=NULL;
                const char *text = NULL;
+               CfEntryInfo *ce = c->ca_entry->e_private;
+
                slap_str2ad(c->argv[0], &ad, &text);
                /* if we got here... */
                assert( ad != NULL );
 
-               CfEntryInfo *ce = c->ca_entry->e_private;
                if ( ce->ce_type == Cft_Global ){
                        ce = ce->ce_kids;
                }