diff options
author | Douglas Bagnall <douglas.bagnall@catalyst.net.nz> | 2019-05-03 17:24:37 +1200 |
---|---|---|
committer | Douglas Bagnall <dbagnall@samba.org> | 2019-05-09 22:39:27 +0000 |
commit | 9a6c0a66d57c6a6b68ad7c80cc2ccea2e518f3e4 (patch) | |
tree | 5f800ba1e739b562f626b894274d15b57c47fbf6 | |
parent | 2852dce541e7d923b1a2807f9ba29b62b043d219 (diff) | |
download | samba-9a6c0a66d57c6a6b68ad7c80cc2ccea2e518f3e4.tar.gz |
dsdb/modules/dirsync: remove useless function call
Signed-off-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Gary Lockyer <gary@catalyst.net.nz>
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/dirsync.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/dirsync.c b/source4/dsdb/samdb/ldb_modules/dirsync.c index 6367661bd04..60a2b4098c9 100644 --- a/source4/dsdb/samdb/ldb_modules/dirsync.c +++ b/source4/dsdb/samdb/ldb_modules/dirsync.c @@ -155,7 +155,6 @@ static int dirsync_filter_entry(struct ldb_request *req, return ldb_oom(ldb); } for (i = msg->num_elements - 1; i >= 0; i--) { - attr = dsdb_attribute_by_lDAPDisplayName(dsc->schema, msg->elements[i].name); if (ldb_attr_cmp(msg->elements[i].name, "uSNChanged") == 0) { int error = 0; /* Read the USN it will used at the end of the filtering |