Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
f06e69dd
Commit
f06e69dd
authored
Jul 23, 2007
by
Hallvard Furuseth
Browse files
Remove lint: import ITS#5035 part 2 from HEAD, remove unused variables.
parent
ef3fb76e
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/overlays/pcache.c
View file @
f06e69dd
...
...
@@ -417,7 +417,6 @@ strings_containment(struct berval* stored, struct berval* incoming)
static
int
substr_containment_substr
(
Operation
*
op
,
Filter
*
stored
,
Filter
*
incoming
)
{
int
i
;
int
rc
=
0
;
struct
berval
init_incoming
;
...
...
@@ -608,7 +607,6 @@ static void
free_query
(
CachedQuery
*
qc
)
{
Query
*
q
=
(
Query
*
)
qc
;
int
i
;
free
(
qc
->
q_uuid
.
bv_val
);
filter_free
(
q
->
filter
);
...
...
@@ -1035,6 +1033,7 @@ pcache_op_cleanup( Operation *op, SlapReply *rs ) {
}
op
->
o_callback
=
op
->
o_callback
->
sc_next
;
op
->
o_tmpfree
(
cb
,
op
->
o_tmpmemctx
);
return
SLAP_CB_CONTINUE
;
}
static
int
...
...
@@ -1216,8 +1215,6 @@ pcache_op_search(
cache_manager
*
cm
=
on
->
on_bi
.
bi_private
;
query_manager
*
qm
=
cm
->
qm
;
int
count
;
int
i
=
-
1
;
AttributeName
*
filter_attrs
=
NULL
;
...
...
@@ -1230,7 +1227,6 @@ pcache_op_search(
int
cacheable
=
0
;
int
fattr_cnt
=
0
;
int
fattr_got_oc
=
0
;
int
oc_attr_absent
=
1
;
struct
berval
tempstr
;
...
...
@@ -2025,7 +2021,7 @@ pcache_db_close(
slap_overinst
*
on
=
(
slap_overinst
*
)
be
->
bd_info
;
cache_manager
*
cm
=
on
->
on_bi
.
bi_private
;
query_manager
*
qm
=
cm
->
qm
;
int
i
,
j
,
rc
=
0
;
int
i
,
rc
=
0
;
/* cleanup stuff inherited from the original database... */
cm
->
db
.
be_limits
=
NULL
;
...
...
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