Commit 904ba0d3 authored by Hallvard Furuseth's avatar Hallvard Furuseth
Browse files

Fix rev 1.403 (ITS#6428): C90 does not accept mixed declarations and code

parent 8133ec8b
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment