diff options
author | Stefan Metzmacher <metze@samba.org> | 2012-12-17 13:48:01 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-01-01 19:28:07 +0100 |
commit | 30be17bc5d6b3cf2ee0aef6663af78b153b2ab9a (patch) | |
tree | 44246ebec0d3a5f4ff9fb6c5951f7cc74ff90f88 /source4/rpc_server | |
parent | 551bb2ccea6a1d82dbe0d4a21c19a8d8bd13ccbc (diff) | |
download | samba-30be17bc5d6b3cf2ee0aef6663af78b153b2ab9a.tar.gz samba-30be17bc5d6b3cf2ee0aef6663af78b153b2ab9a.tar.bz2 samba-30be17bc5d6b3cf2ee0aef6663af78b153b2ab9a.zip |
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>
Diffstat (limited to 'source4/rpc_server')
-rw-r--r-- | source4/rpc_server/drsuapi/getncchanges.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source4/rpc_server/drsuapi/getncchanges.c b/source4/rpc_server/drsuapi/getncchanges.c index 00988fc381..b7b488c2e3 100644 --- a/source4/rpc_server/drsuapi/getncchanges.c +++ b/source4/rpc_server/drsuapi/getncchanges.c @@ -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", |