mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 18:19:52 -05:00
trim useless code
This commit is contained in:
parent
c84b7502c5
commit
70af36dbf5
1 changed files with 1 additions and 8 deletions
|
|
@ -215,8 +215,6 @@ value_match(
|
|||
const char ** text )
|
||||
{
|
||||
int rc;
|
||||
struct berval nv1 = BER_BVNULL;
|
||||
struct berval nv2 = BER_BVNULL;
|
||||
|
||||
assert( mr != NULL );
|
||||
|
||||
|
|
@ -225,13 +223,8 @@ value_match(
|
|||
}
|
||||
|
||||
rc = (mr->smr_match)( match, flags,
|
||||
ad->ad_type->sat_syntax,
|
||||
mr,
|
||||
nv1.bv_val != NULL ? &nv1 : v1,
|
||||
nv2.bv_val != NULL ? &nv2 : v2 );
|
||||
ad->ad_type->sat_syntax, mr, v1, v2 );
|
||||
|
||||
if (nv1.bv_val ) free( nv1.bv_val );
|
||||
if (nv2.bv_val ) free( nv2.bv_val );
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue