mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
prevent use of uninitialized var
This commit is contained in:
parent
665cb3e86e
commit
456a561b65
@ -152,7 +152,7 @@ monitor_back_search(
|
||||
)
|
||||
{
|
||||
struct monitorinfo *mi = (struct monitorinfo *) be->be_private;
|
||||
int rc;
|
||||
int rc = LDAP_SUCCESS;
|
||||
Entry *e, *matched = NULL;
|
||||
int nentries = 0;
|
||||
|
||||
@ -174,7 +174,7 @@ monitor_back_search(
|
||||
monitor_cache_release( mi, matched );
|
||||
}
|
||||
|
||||
return( 0 );
|
||||
return( rc );
|
||||
}
|
||||
|
||||
nentries = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user