Commit 12affea4 authored by Howard Chu's avatar Howard Chu
Browse files

ITS#6425 fix uninit'd vars

parent 85621c88
......@@ -810,7 +810,7 @@ do_syncrep2(
ldap_get_entry_controls( si->si_ld, msg, &rctrls );
/* we can't work without the control */
if ( rctrls ) {
LDAPControl **next;
LDAPControl **next = NULL;
/* NOTE: make sure we use the right one;
* a better approach would be to run thru
* the whole list and take care of all */
......@@ -998,7 +998,7 @@ do_syncrep2(
si->si_ridtxt, err, ldap_err2string( err ) );
}
if ( rctrls ) {
LDAPControl **next;
LDAPControl **next = NULL;
/* NOTE: make sure we use the right one;
* a better approach would be to run thru
* the whole list and take care of all */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment