Commit df96737b authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Remove Lint.

parent 349bec7c
......@@ -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 );
......
Supports Markdown
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