mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
Fix uninitialized variables
This commit is contained in:
parent
aa516d3e80
commit
7b88ccd954
2 changed files with 2 additions and 3 deletions
|
|
@ -277,8 +277,6 @@ int backend_shutdown( Backend *be )
|
|||
|
||||
/* close each backend database */
|
||||
for( i = 0; i < nBackendDB; i++ ) {
|
||||
BackendInfo *bi;
|
||||
|
||||
if ( backendDB[i].bd_info->bi_db_close ) {
|
||||
backendDB[i].bd_info->bi_db_close(
|
||||
&backendDB[i] );
|
||||
|
|
@ -287,7 +285,7 @@ int backend_shutdown( Backend *be )
|
|||
if(rc != 0) {
|
||||
Debug( LDAP_DEBUG_ANY,
|
||||
"backend_close: bi_close %s failed!\n",
|
||||
bi->bi_type, 0, 0 );
|
||||
backendDB[i].be_type, 0, 0 );
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -125,6 +125,7 @@ do_search(
|
|||
send_ldap_result( conn, op, err,
|
||||
NULL, "Bad search filter", NULL, NULL );
|
||||
}
|
||||
rc = -1;
|
||||
goto return_results;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue