From: Hallvard Furuseth Date: Thu, 10 Dec 2009 19:53:10 +0000 (+0000) Subject: Fix rev 1.403 (ITS#6428): C90 does not accept mixed declarations and code X-Git-Tag: ACLCHECK_0~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=904ba0d31777fc4f1dc63af5a7c0fcdc463729cd;p=openldap Fix rev 1.403 (ITS#6428): C90 does not accept mixed declarations and code --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 03b107f794..a04a33ad6d 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -2256,11 +2256,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; }