mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 08:09:34 -05:00
ITS#6425 fix uninit'd vars
This commit is contained in:
parent
85621c882a
commit
12affea4ac
1 changed files with 2 additions and 2 deletions
|
|
@ -810,7 +810,7 @@ do_syncrep2(
|
||||||
ldap_get_entry_controls( si->si_ld, msg, &rctrls );
|
ldap_get_entry_controls( si->si_ld, msg, &rctrls );
|
||||||
/* we can't work without the control */
|
/* we can't work without the control */
|
||||||
if ( rctrls ) {
|
if ( rctrls ) {
|
||||||
LDAPControl **next;
|
LDAPControl **next = NULL;
|
||||||
/* NOTE: make sure we use the right one;
|
/* NOTE: make sure we use the right one;
|
||||||
* a better approach would be to run thru
|
* a better approach would be to run thru
|
||||||
* the whole list and take care of all */
|
* the whole list and take care of all */
|
||||||
|
|
@ -998,7 +998,7 @@ do_syncrep2(
|
||||||
si->si_ridtxt, err, ldap_err2string( err ) );
|
si->si_ridtxt, err, ldap_err2string( err ) );
|
||||||
}
|
}
|
||||||
if ( rctrls ) {
|
if ( rctrls ) {
|
||||||
LDAPControl **next;
|
LDAPControl **next = NULL;
|
||||||
/* NOTE: make sure we use the right one;
|
/* NOTE: make sure we use the right one;
|
||||||
* a better approach would be to run thru
|
* a better approach would be to run thru
|
||||||
* the whole list and take care of all */
|
* the whole list and take care of all */
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue