mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
s4:drsuapi: remove unused 'highest_usn' from drsuapi_getncchanges_state
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
This commit is contained in:
parent
551bb2ccea
commit
30be17bc5d
@ -45,7 +45,6 @@ struct drsuapi_getncchanges_state {
|
||||
struct ldb_dn *ncRoot_dn;
|
||||
bool is_schema_nc;
|
||||
uint64_t min_usn;
|
||||
uint64_t highest_usn;
|
||||
struct ldb_dn *last_dn;
|
||||
struct drsuapi_DsReplicaLinkedAttribute *la_list;
|
||||
uint32_t la_count;
|
||||
@ -1876,9 +1875,6 @@ allowed:
|
||||
if (uSN > r->out.ctr->ctr6.new_highwatermark.tmp_highest_usn) {
|
||||
r->out.ctr->ctr6.new_highwatermark.tmp_highest_usn = uSN;
|
||||
}
|
||||
if (uSN > getnc_state->highest_usn) {
|
||||
getnc_state->highest_usn = uSN;
|
||||
}
|
||||
|
||||
if (obj->meta_data_ctr == NULL) {
|
||||
DEBUG(8,(__location__ ": getncchanges skipping send of object %s\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user