mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
remove unused structure member ps_id
This commit is contained in:
parent
2b2afda7c1
commit
7be90a7ddf
@ -752,7 +752,7 @@ dn2entry_retry:
|
||||
}
|
||||
|
||||
if ( get_pagedresults(sop) ) {
|
||||
if ( sop->o_pagedresults_state.ps_cookie == 0 ) {
|
||||
if ( (ID)( sop->o_pagedresults_state.ps_cookie ) == 0 ) {
|
||||
id = bdb_idl_first( candidates, &cursor );
|
||||
|
||||
} else {
|
||||
|
@ -901,7 +901,6 @@ static int parsePagedResults (
|
||||
} else {
|
||||
/* Initial request. Initialize state. */
|
||||
op->o_pagedresults_state.ps_cookie = 0;
|
||||
op->o_pagedresults_state.ps_id = NOID;
|
||||
op->o_pagedresults_state.ps_count = 0;
|
||||
}
|
||||
|
||||
|
@ -1893,7 +1893,6 @@ typedef unsigned long PagedResultsCookie;
|
||||
typedef struct slap_paged_state {
|
||||
Backend *ps_be;
|
||||
PagedResultsCookie ps_cookie;
|
||||
ID ps_id;
|
||||
int ps_count;
|
||||
} PagedResultsState;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user