declaration after code (introduced by ITS#6428 fix)

This commit is contained in:
Ralf Haferkamp 2009-12-11 18:09:47 +00:00
parent aeeed3da85
commit 8542dfd6d7

View 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;
}