silence warnings

This commit is contained in:
Pierangelo Masarati 2007-01-03 21:34:49 +00:00
parent e094bef172
commit 3284f54ec0
3 changed files with 4 additions and 6 deletions

View File

@ -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 ) {

View File

@ -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 );

View File

@ -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 );