remove unused structure member ps_id

This commit is contained in:
Pierangelo Masarati 2004-04-17 15:01:13 +00:00
parent 2b2afda7c1
commit 7be90a7ddf
3 changed files with 1 additions and 3 deletions

View File

@ -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 {

View File

@ -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;
}

View File

@ -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;