mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
silence warnings
This commit is contained in:
parent
e094bef172
commit
3284f54ec0
@ -1622,7 +1622,7 @@ done_url:;
|
||||
&& mask == LDAP_BACK_F_T_F_DISCOVER
|
||||
&& !LDAP_BACK_T_F( li ) )
|
||||
{
|
||||
slap_bindconf sb = { 0 };
|
||||
slap_bindconf sb = { BER_BVNULL };
|
||||
int rc;
|
||||
|
||||
if ( li->li_uri == NULL ) {
|
||||
@ -1794,7 +1794,7 @@ done_url:;
|
||||
&& mask == LDAP_BACK_F_CANCEL_EXOP_DISCOVER
|
||||
&& !LDAP_BACK_CANCEL( li ) )
|
||||
{
|
||||
slap_bindconf sb = { 0 };
|
||||
slap_bindconf sb = { BER_BVNULL };
|
||||
int rc;
|
||||
|
||||
if ( li->li_uri == NULL ) {
|
||||
|
@ -172,7 +172,7 @@ ldap_back_db_open( BackendDB *be )
|
||||
{
|
||||
ldapinfo_t *li = (ldapinfo_t *)be->be_private;
|
||||
|
||||
slap_bindconf sb = { 0 };
|
||||
slap_bindconf sb = { BER_BVNULL };
|
||||
int rc = 0;
|
||||
|
||||
Debug( LDAP_DEBUG_TRACE,
|
||||
@ -198,8 +198,6 @@ ldap_back_db_open( BackendDB *be )
|
||||
BER_BVSTR( &sb.sb_binddn, "" );
|
||||
|
||||
if ( LDAP_BACK_T_F_DISCOVER( li ) && !LDAP_BACK_T_F( li ) ) {
|
||||
int rc;
|
||||
|
||||
rc = slap_discover_feature( &sb,
|
||||
slap_schema.si_ad_supportedFeatures->ad_cname.bv_val,
|
||||
LDAP_FEATURE_ABSOLUTE_FILTERS );
|
||||
|
@ -137,7 +137,7 @@ meta_back_db_open(
|
||||
rc;
|
||||
|
||||
for ( i = 0; i < mi->mi_ntargets; i++ ) {
|
||||
slap_bindconf sb = { 0 };
|
||||
slap_bindconf sb = { BER_BVNULL };
|
||||
metatarget_t *mt = mi->mi_targets[ i ];
|
||||
|
||||
ber_str2bv( mt->mt_uri, 0, 0, &sb.sb_uri );
|
||||
|
Loading…
Reference in New Issue
Block a user