mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-12 01:42:53 -05:00
Remove Lint.
This commit is contained in:
parent
349bec7c0e
commit
df96737bf2
2 changed files with 7 additions and 11 deletions
|
|
@ -185,20 +185,16 @@ get_filter(
|
|||
}
|
||||
|
||||
#ifdef SLAPD_SCHEMA_NOT_COMPAT
|
||||
{
|
||||
char *text;
|
||||
int rc;
|
||||
f->f_desc = NULL;
|
||||
err = slap_bv2ad( &type, &f->f_desc, &text );
|
||||
|
||||
if( err != LDAP_SUCCESS ) {
|
||||
ch_free( type.bv_val );
|
||||
break;
|
||||
}
|
||||
f->f_desc = NULL;
|
||||
err = slap_bv2ad( &type, &f->f_desc, text );
|
||||
|
||||
if( err != LDAP_SUCCESS ) {
|
||||
ch_free( type.bv_val );
|
||||
break;
|
||||
}
|
||||
|
||||
ch_free( type.bv_val );
|
||||
|
||||
*fstr = ch_malloc( sizeof("(=*)")
|
||||
+ f->f_desc->ad_cname->bv_len );
|
||||
sprintf( *fstr, "(%s=*)",
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ schema_info( Entry **entry, char **text )
|
|||
val.bv_len = strlen( ++val.bv_val );
|
||||
|
||||
#ifdef SLAPD_SCHEMA_NOT_COMPAT
|
||||
rc = slap_str2ad( rdn, &desc, &text );
|
||||
rc = slap_str2ad( rdn, &desc, text );
|
||||
|
||||
if( rc != LDAP_SUCCESS ) {
|
||||
free( rdn );
|
||||
|
|
|
|||
Loading…
Reference in a new issue