Skip to content
Snippets Groups Projects
Commit 456a561b authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

prevent use of uninitialized var

parent 665cb3e8
Branches
Tags
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment