From 904ba0d31777fc4f1dc63af5a7c0fcdc463729cd Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Thu, 10 Dec 2009 19:53:10 +0000 Subject: [PATCH] Fix rev 1.403 (ITS#6428): C90 does not accept mixed declarations and code --- servers/slapd/bconfig.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; } -- 2.39.5