From: Hallvard Furuseth Date: Mon, 13 Oct 2008 05:31:52 +0000 (+0000) Subject: Fix r1.86 (LDAP_DEVEL:SLAP_CONFIG_DELETE): No declarations after code. X-Git-Tag: ACLCHECK_0~1267 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c2a317415c7fc6f8f2e1cf3a412db86f9082a7d7;p=openldap Fix r1.86 (LDAP_DEVEL:SLAP_CONFIG_DELETE): No declarations after code. --- diff --git a/servers/slapd/backover.c b/servers/slapd/backover.c index 58ca3198fc..25656375da 100644 --- a/servers/slapd/backover.c +++ b/servers/slapd/backover.c @@ -1111,13 +1111,14 @@ overlay_remove( BackendDB *be, slap_overinst *on ) { slap_overinfo *oi = on->on_info; slap_overinst **oidx; + BackendInfo *bi_orig; /* remove overlay from oi_list an call db_close and db_destroy * handlers */ for ( oidx = &oi->oi_list; *oidx; oidx = &(*oidx)->on_next ) { if ( *oidx == on ) { *oidx = on->on_next; - BackendInfo *bi_orig = be->bd_info; + bi_orig = be->bd_info; be->bd_info = (BackendInfo *)on; if ( on->on_bi.bi_db_close ) { on->on_bi.bi_db_close( be, NULL );