Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
70af36db
Commit
70af36db
authored
Jun 28, 2004
by
Pierangelo Masarati
Browse files
trim useless code
parent
c84b7502
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/value.c
View file @
70af36db
...
...
@@ -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
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment